Ok i have a page with a form on it. When the user clicks the submit button on a seperate page ( doing it on seperate page due to limitaion sum users have 15" screens) it displays what errors they made and gives them a link back a page. with all the information they entered in still there.
that all pretty straight forward nothing fancy, however...
On the form that is being submitted i have a button that opens a window using java script and another that loads new window with a javascript calendar datepicker in it.
if either of those other windows is opened when i click the back button the users information that they entered for the entire form is wiped out!!!
How? Why?
how do i stop it?
The back button methods that i've tried :
Browser back button
Vbscript
Code:
<FORM method="POST" name="VBScript_Nav_Sample">
<INPUT TYPE="button" NAME="Go Back!"
VALUE="VBScript_Backup_Sample" LANGUAGE="VBScript"
OnClick="call window.history.back(1)">
</FORM>
and javascipt
Code:
<a href="JavaScript:history.back(5)">the past</a>
All work fine as long as the buttons are not pressed and the other windows not open up.
How can i stop my information getting erased?
thanks all for your help
|