<body onload="load()">
<iframe ></iframe>
</body>
</html>
<script type="text/javascript">  
    var iframe;  
    function load() {  
        iframe = document.getElementById("iframe");  
        iframe. onload = iframe. onreadystatechange = iframeload;   
        iframe.src = "http://www.thinkpage.cn/weather/weather.aspx?uid=U712864012&cid=CHBJ000000&l=zh-CHS&p=SMART&a=0&u=C&s=1&m=0&x=1&d=3&fc=&bgc=&bc=&ti=0&in=0&li=&ct=iframe";  
    }  
    function iframeload() {  
        if (!iframe.readyState || iframe.readyState == "complete") {  
            alert("Local iframe is now loaded.");  
        }  
    }  
</script>  

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-27
  • 2022-01-02
  • 2021-12-28
  • 2022-02-15
  • 2021-06-12
猜你喜欢
  • 2022-12-23
  • 2021-06-10
  • 2021-11-09
  • 2021-08-17
  • 2022-12-23
  • 2021-12-24
相关资源
相似解决方案