Dom with cookies?

windows

Guest
I create a page that creates a form on the onload event and I'm wondering what's the best way to go about retaining the users information if the hit the back button on their browser. Current when the user goes to my page, a function is called in javascript off of the body onload event, then the javascript function creates the form the user enters values in then submits. If the user then clicks the back button on the browser, now their information is go since the onload event has fired. What is the best way to keep the users data, cookies?? I'm not too sure how I'd go about this since the form thats created can change based on user input. <br />
<br />
TIA<br />
<br />
Brian<!--content-->
 
Back
Top