i am trying to determine if my iframe content loaded or not,
can someone tell me what is wornge with this script :
Expand|Select|Wrap|Line Numbers
- function iframe(){
- y = document.getElementById('iframe_test');
- if (y.readyState == "complete")
- document.getElementById('show').style.display="none";
- }
<div id="show" style="border:#FF0000;background-color:#990000;height:500px;width:500px"> </div>[/HTML]