How can I save data with the help of javascript?
<p>I'm working on a project and the requirement is that we have links in menu. When we modify the curent page and dont save it and want to move or redirect on next page, then a pop up window shows which ask whether you want to save the data or not.</p>

<p>I have completed up to pop up comes when we modify or enter some data in textboxes or do any change on page. Now the problem comes how we save the data when we click on yes button.</p>

<p>How can I do this with the help of javascript?</p>
