I have webpage in which there is one textbox and a button to save data in a database. I want to make sure that the user has saved the data before exiting the page. The user can exit the page either by clicking a button that redirects to another page or by closing the browser window.
Any sample code or suggestion .......
...
Go to the complete details ...