Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q381 Is it possible to detect from outside a floating frame that the contents have loaded?

You are here: irt.org | FAQ | JavaScript | Frame | Q381 [ previous next ]

Only in Internet Explorer 4 using the document.all object and the frames readyState property:

<iframe id="myId" src="floatingframe.html"></iframe>

<form>
<input type="button" value="Interrogate" onClick="alert(document.all('myId').ReadyState)">
</form>

Possible values include:

Although I've only managed to get it to return the value 4.

©2018 Martin Webb