一般都是
history.back()
history.go(-3)如果要访问指定帧的前一个页面可以试试访问该帧的
document.referrer
不过这样只能得到页面地址,提交的页面参数就丢了。

解决方案 »

  1.   

    我就想要保留参数,如果只是一个url地址没有参数的话,现在就可以实现了!
      

  2.   

    back Method--------------------------------------------------------------------------------Loads a URL from the History list. Syntaxhistory.back( [iDistance])
    ParametersiDistance Optional. Integer爐hat specifies the number of URLs to go back. If no value is provided, the previous URL is loaded. Return ValueNo return value.ResThis method performs the same action as when a user clicks the Back button in the browser. The back method works the same as history.go(-1). An error does not occur if the user tries to go beyond the beginning of the history. Instead, the user remains at the current page.