||View All MessagesBack to WebFX|
I've got a multi iframed application. I'm using onbeforeunload to trap unsaved changes but, for various reasons, I need to find out whether the user has pressed OK or Cancel on the dialog box.
In IE I can test the readyState of the document so that if they've pressed OK its "loading" and cancel "complete". Any ideas how to achieve this in Moz?