javascript:history.go(-number)
eg. javascript:history.go(-2)

解决方案 »

  1.   

    再问不死鸟,HISTORY 对象存储的是写什么东西,能不能通过得到以前URL的历史记录,从而通过后退到指定的URL,而不是通过计算后退的步数。
      

  2.   

    history.back ()
    history.go (dest)
    history.current ()
    history.forward ()
    history.length ()
    history.next ()
    history.previous ()
      

  3.   

    好象window.history.go("index.htm"),没有用哦,
      

  4.   

    http://www.blueidea.com/bbs/newsdetail.asp?id=383170
    go Method--------------------------------------------------------------------------------Loads a URL from the History list. Syntaxhistory.go(vLocation)ParametersvLocation Required. Variant that specifies an integer or a string. The integer indicates the relative position of the URL in the History list, and the string indicates all or part of a URL in the browser history. Return ValueNo return value. ResAn error does not occur if the user tries to go beyond the beginning or end of the history. Instead, the user remains at the current page. 
      

  5.   

    如果不反对刷新的话,可以用<input type=button onclick='window.location="a.htm"'>