history.back(-1);
hi.
i have the following code in my form.
print ("<script language='javascript'>alert('Please complete the form'); history.back(-1);</script>");
what happen is that when i click ok on the message box, it will refresh the form and all data are gone. what i want is that all the data is still there so that i can just resume filling the form.
so is there anything i can add to the code?
i'm am total newbie
__________________
i\'m am total newbie
|