开发者

jQuery back to last page

开发者 https://www.devze.com 2023-03-03 19:10 出处:网络
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 everythi

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

0

精彩评论

暂无评论...
验证码 换一张
取 消