I have a multi-page form, and I'm trying to implement "Back" buttons, so that the form will go 开发者_如何学编程back, just the same behavior as the browser's back button, and still retain everything in the fields, rather than clearing them. How can I do this?
window.history(-1); //plain ol' javascript
Perhaps this discussion/solution offers a solution for you: https://superuser.com/questions/269394/ie7-doesnt-retain-form-input-when-back-button-is-used
精彩评论