久久久久久久性爱潮,国产又粗又猛又爽又黄下载视频,尤物国产在线一区视频,欧美日本国产在线不卡

<sup id="4uqqy"><ol id="4uqqy"></ol></sup>
  • <th id="4uqqy"></th>

      • <strike id="4uqqy"><nobr id="4uqqy"><ins id="4uqqy"></ins></nobr></strike><sup id="4uqqy"></sup><strong id="4uqqy"><u id="4uqqy"></u></strong>
        <sub id="4uqqy"></sub>

          綠色資源網(wǎng):您身邊最放心的安全下載站! 最新軟件|熱門排行|軟件分類|軟件專題|廠商大全

          綠色資源網(wǎng)

          技術教程
          您的位置:首頁網(wǎng)頁設計網(wǎng)頁特效 → JS實現(xiàn)刷新iframe的方法

          JS實現(xiàn)刷新iframe的方法

          我要評論 2012/06/25 11:17:42 來源:綠色資源網(wǎng) 編輯:downcc.com [ ] 評論:0 點擊:287次

          <iframe src="1.htm" name="ifrmname" id="ifrmid"></iframe>

            方案一:用iframe的name屬性定位

          <input type="button" name="Button" value="Button"
          onclick="document.frames('ifrmname').location.reload()">

            或

          <input type="button" name="Button" value="Button"
          onclick="document.all.ifrmname.document.location.reload()">

            方案二:用iframe的id屬性定位

          <input type="button" name="Button" value="Button"
          onclick="ifrmid.window.location.reload()">

            終極方案:當iframe的src為其它網(wǎng)站地址(跨域操作時)

          <input type="button" name="Button" value="Button"
          onclick="window.open(document.all.ifrmname.src,'ifrmname','')">

          關鍵詞:JS,iframe

          閱讀本文后您有什么感想? 已有 人給出評價!

          • 3 歡迎喜歡
          • 5 白癡
          • 6 拜托
          • 74 哇
          • 4 加油
          • 2 鄙視