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

  • Follow


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.

0
Reply a.r.austin (13) 2/24/2006 3:19:39 PM

"Alex" <a.r.austin@gmail.com> wrote in message 
news:1140794379.513098.227240@e56g2000cwe.googlegroups.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. 


0
Reply d 2/24/2006 5:51:02 PM


1 Replies
220 Views

(page loaded in 0.008 seconds)


Reply: