472,119 Members | 1,430 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

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 2566
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.