By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,870 Members | 1,189 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,870 IT Pros & Developers. It's quick & easy.

Need to detect page state - loading - loaded - etc ???

P: n/a
I need to detect if page loaded or not with a script (in a child
frame). The IE has a special readyState function, is there anything
similar for Mozila browsers?

Is there a work around?

Thank you.

Feb 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
d
"Alex" <a.********@gmail.com> wrote in message
news:11**********************@e56g2000cwe.googlegr oups.com...
I need to detect if page loaded or not with a script (in a child
frame). The IE has a special readyState function, is there anything
similar for Mozila browsers?

Is there a work around?

Thank you.


Yeah - just use the onload() event on that frame to tell you when the page
is loaded:

<iframe id="frm" src="http://www.google.com/" onload="isLoaded();"></iframe>

that'll tell you when the page has loaded.
Feb 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.