Detecting Unsaved Work Javascript Source Code

2015-01-04T19:57:41+08:00

This is a simple project that will teach you on how to detect unsaved work using javascript. If the user tries to close the window or tab of the browser without submitting the complete work,an alert message will appear and you will be ask to leave or stay on the page. Instructions: 1. Download the source code. 2. Extract the compressed folder. 3. Open the index.html in any browser Note: This is just a simple program any updates or constructive criticism will be accepted.   Detecting Unsaved Work Javascript Source Code