亚洲免费乱码视频,日韩 欧美 国产 动漫 一区,97在线观看免费视频播国产,中文字幕亚洲图片

      1. <legend id="ppnor"></legend>

      2. 
        
        <sup id="ppnor"><input id="ppnor"></input></sup>
        <s id="ppnor"></s>

        iframe 的刷新方式 這樣方式更方便

        字號:


            千萬不要兩種方式同時(shí)使用,如果同時(shí)使用,將會(huì)提交兩次。
            iframe的刷新方式
            1. 刷新方式可以使用 javascript 的 document.fr.location.reload()
            2. 還有就是修改 document.fr.location.href 也可以實(shí)現(xiàn)刷新的功能
            例如:
            代碼如下:
            <iframe name="fr" width="96%" src="alert_search.do?method=findSys"></iframe>
            <script type="text/javascript">
            function show_syslog(id){
            document.fr.location.href="/alert_search.do?method=findSys&id="+id;
            }
            </script>
            <input type="button" onclick="javascript:show_syslog(1)">
            注意:千萬不要兩種方式同時(shí)使用,如果同時(shí)使用,將會(huì)提交兩次。
            代碼如下:
            document.fr.location.href = "your.html";
            document.fr.location.reload();