It’s a simple mission which will educate you on how one can detect unsaved work using javascript. If the particular person tries to close the window or tab of the browser with out submitting the entire work,an alert message will appear and it’s possible you’ll be ask to go away or preserve on the internet web page.
Instructions:
1. Get hold of the supply code.
2. Extract the compressed folder.
3. Open the index.html in any browser
Discover:
That’s solely a simple program any updates or constructive criticism shall be
accepted.
Detecting Unsaved Work Javascript Source Code
Provide iwantsourcecodes.com