WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 document.readyState equivalent in Mozilla, Mark Williams, February 24, 2005
     Re:document.readyState equivalent in Mozilla, Idris, February 25, 2005
         Re:document.readyState equivalent in Mozilla, Mark Williams, February 28, 2005

Subject: document.readyState equivalent in Mozilla From: Mark Williams Date: February 24, 2005
Hi,

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?

ta

m



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX