input box gets cleared on refresh page : javascript
- by p p
Hi,
I have a javascript function that writes the value of input box to a cookie, then it tells the page to refresh. The page must be refreshed to the server side can reconstruct the page based on the values of the cookies. Output the correct data on the page.
However I do not want the user to lose the value they type on the input box unless they erase it.
what can i do?