Preserving form data using history.back()
Posted on 2004-11-06
I have a form with several select menus., onSubmit to the next page, i want to confirm the selected what was entered on the previous page.
if the user decides to edit the data, i have a button which uses history.back() function.
Just on testing on IE, Data is preserved and in few computers with different versions of IE it isnt. I'm aware that we cannot rely on all browsers to remember values, however if it works in Netscape and IE i'll be more than happy.
whats the difference between history.back() and history.go(-1)? Could that be a factor?