我的想法是:
你可以记录你转过页面的次数为N,然后history.go(-N)

解决方案 »

  1.   

    <table cellpadding="0" cellspacing="0" width="100%" height="100%" ID="Table1">
    <tr>
    <td align="center"><input value="页面一"></td>
    </tr>
    <tr>
    <td height="1" align="center"><button onclick="爽(2)">页面二</button><button onclick="爽(3)">页面三</button></td>
    </tr>
    </table>
    <table cellpadding="0" cellspacing="0" width="100%" height="100%" ID="Table2" style="display:none">
    <tr>
    <td align="center"><input value="页面二"></td>
    </tr>
    <tr>
    <td height="1" align="center"><button onclick="爽(1)">页面一</button><button onclick="爽(3)">页面三</button></td>
    </tr>
    </table>
    <table cellpadding="0" cellspacing="0" width="100%" height="100%" ID="Table3" style="display:none">
    <tr>
    <td align="center"><input value="页面三"></td>
    </tr>
    <tr>
    <td height="1" align="center"><button onclick="爽(2)">页面二</button><button onclick="爽(3)">页面三</button></td>
    </tr>
    </table>
    <script language="javascript">
    function 爽(哈哈)
    {
    var ThisTable = eval("document.all.Table"+ 哈哈);
    document.all.Table1.style.display = 'none';
    document.all.Table2.style.display = 'none';
    document.all.Table3.style.display = 'none';
    ThisTable.style.display = '';
    }
    </script>
    你可以在td里面方iframe
      

  2.   

    页面1.asp:
    <form action="2.asp" method="post">
    <input name="userName" value='<%Request["page1_userName"]%>'>
    <input type=submit value=提交>
    </form>页面2.asp:
    <form action="1.asp" method="post">
    <input name="page1_userName" type=hidden value='<%Request["userName"]%>'>
    <input type=submit value=提交>
    </form>这样你就不用手动保存就可以恢复原来的值了
    思路是把1.asp中的value值都发到2.asp中
    在2.asp中使用隐藏字段保存这些值
    当2.asp处理完后,再提交到1.asp
      

  3.   

    用JavaScript把当前页面的状态拼成一个字符串,
    在不同的页面之间跳转的时候传递这个字符串,(当然可以修改字符串)
    当回到这个页面的时候再次解析字符串,设置控件的状态。
      

  4.   

    同意楼上用session或hidden的,简便易行^_^
      

  5.   

    pignet(猪.net)說得對,要使用frame或是iframe才能很好的達到效果