469,964 Members | 1,740 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,964 developers. It's quick & easy.

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

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
1 2494
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.

Similar topics

7 posts views Thread by yawnmoth | last post: by
1 post views Thread by Andreas Leue | last post: by
7 posts views Thread by Shadow Lynx | last post: by
1 post views Thread by clintonG | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.