I am a new customer to experts-exchange and this is my first question.
I have a requirement to capture any changes made to a form when a user clicks the browers BACK or FORWARD button and show a warning message.If no edits are made in the form then the warning message should not appear
If I can do it can any one tell me what are the events that I have to use?
I have searched google a little bit and undrestand that onbeforeunload does this functionality.
But how would i recognise whether any changes are made to form data in the onbeforeunload event.
Any help is gretly appreciated.