I have a page which allows my boss to enter notes from the meetings we have. He has made on several occasion the mistake of either clicking the close button or another link before hitting the submit button and thus losing the data. He would like a warning to tell him if he hasn't submitted the data yet.
I know I need a flag on the page to say either yes it has been submitted or no it has not. My question is how would I override the close button or a link so that instead of doing its intended action it gives a warning (or I'm evening considering making it submit since thats not that much different of a change). Thanks!
I know I need a flag on the page to say either yes it has been submitted or no it has not. My question is how would I override the close button or a link so that instead of doing its intended action it gives a warning (or I'm evening considering making it submit since thats not that much different of a change). Thanks!