Hi,
I am writing an ASP.net application and I have some javascript that displays
a dialog box on the onunloadevent to ask them if they want to close without
saving changes. The problem is that I don't know how to monitor the
necessary controls to see if they had been changed or not. Any help you can
give me would be great.
Regards
bbdobuddy
Serge Baltic - 22 Jul 2005 18:08 GMT
Hello,
b> I am writing an ASP.net application and I have some javascript that
b> displays a dialog box on the onunloadevent to ask them if they want
b> to close without saving changes. The problem is that I don't know
b> how to monitor the necessary controls to see if they had been changed
b> or not. Any help you can give me would be great.
Well … sink their client-side "onchange" event and set a flag if it fires?
(H) Serge