This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
With jsp and jquery, I need to keep the form data in memory before calling window.open. When the popup page is closed, refresh the parent page and then restore the form data from memory.
I can use jquery .serialize the form data into string, and when refresh the parent page, onLoad() gets the formData from sessoin Storage.
But the problem now is I don't know how to deserialize the formData.
Here is my openWindow() js function:
when page refreshed (with onLoad()):
I have been googling for the topics, but couldn;t found a similar solution that suits my case.
If anyone can suggestion a way or point me to a tutorial or example, it will be very appreciated.