xpblueScreenOfDeath
Programmer
- Sep 1, 2004
- 87
How to check the readyState of an Iframe document in FireFox. I tried the follow and it works in IE, but not FireFox:
When I message out the readyState in FireFox, it says "undefined";
I also tried:
In FireFox it gave me the error that doc.document has no properties. I'm using FireFox 1.0.
Code:
var doc = document.getElementById("iframeid");
if (doc.readyState == "complete")
dosomething();
When I message out the readyState in FireFox, it says "undefined";
I also tried:
Code:
doc.document.readyState
In FireFox it gave me the error that doc.document has no properties. I'm using FireFox 1.0.