久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      HTML5無(wú)刷新改變當(dāng)前url

      本文主要給大家分享HTML5無(wú)刷新改變當(dāng)前url的代碼,需要的的朋友參考下

      window.history.back();//后退
      window.history.forward();//前進(jìn)
      window.history.go(-1);//移動(dòng)到指定記錄點(diǎn),當(dāng)前倒退1,相當(dāng)于window.history.forward()
      window.history.length//可以了解歷史中有多少個(gè)記錄點(diǎn)

      以上只是查資料時(shí)候的附帶

      下面來(lái)說(shuō)

      history.pushState與history.replaceState

      history.pushState會(huì)增加一條歷史記錄,

      history.replaceState會(huì)替換而不會(huì)增加,所以會(huì)更舒適一點(diǎn)。

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)