加一句
<script>
window.history.forward()
</script>

解决方案 »

  1.   

    这个方法不适用于使用了location.href=""; 语句之后的页面,如果后退该页面已经失效楼上的也是因为要解决这个问题才要屏蔽后退按钮吗?我也没有找到好的解决办法,帮你顶
      

  2.   

    还是不好用呀,代码应该放到什么位置呀。为什么我用了总也不好用呢???
    a.htm代码如下:<Html>
    <head>
    <script>
    window.history.forward()
    </script>
    </head>
    <body>
    <a href="b.html">bb</a></html>b.html 如下:
    <Html>
    <head>
    <script>
    window.history.forward()
    </script>
    </head>
    <body>
    <script>
    window.history.forward()
    </script></html>可是我从a页面进入b页面后,照样能在b页面点“后退”呀
      

  3.   

    剛試過…沒問題
    a.html
    <script>
    window.history.forward();
    </script>
    <a href="b.html">b</a>
    b.html
    <script>
    window.history.forward();
    </script>
    <a href="a.html">a</a>