If I want to show a closing message ONLY if the user is trying to
close the browser, I need to determine the cause of onbeforeunload
being called.
The following attempts do NOT work:
checking document.active Element for the BODY tag
setting flags in window.onbefore unload/onfocus or body.onactivate ,
body.ondeactive
Any ideas?
Thanks
Eric
close the browser, I need to determine the cause of onbeforeunload
being called.
The following attempts do NOT work:
checking document.active Element for the BODY tag
setting flags in window.onbefore unload/onfocus or body.onactivate ,
body.ondeactive
Any ideas?
Thanks
Eric
Comment