CSDN的 牛人哪里去了啊,怎么没人回答啊

解决方案 »

  1.   

    iFrm.contenWindow.document.location="";
      

  2.   

    我用 firefox 2.0 测试不行啊
      

  3.   

    <script  language="javascript">
    function changeSrc(url)
    {
    var ifm=document.getElementById("myIframe")
    ifm.src=url;
    }
    </script><iframe id="myIframe" src="http://www.google.com" width="100%" height="500"></iframe>
    <input type="button" value="baidu" onclick="changeSrc('http://www.baidu.com')">There is no problem in IE6 && Firefox2 browser.
      

  4.   

    不好意思少写了:
    iFrm.contentWindow.document.location="";
      

  5.   

    chouchy(城市刀客)  
    谢谢这位兄弟,按照你的方法高度成功了
      

  6.   

    chouchy(城市刀客)      
    谢谢这位兄弟,按照你的方法调试成功了