如何调用浏览器后退两步的功能??

如何调用浏览器后退两步的功能??如果在注册信息提交后,判断出错,然后重定位到另外一个错误页面,如何能够从这个页面后退到注册页面呢???

---------------------------------------------------------------

response.redirect "index.asp"

history.go(-2)
---------------------------------------------------------------

1<button onclick="history.go(-2)">后退两步&lt;/button   
2\---------------------------------------------------------------   
3  
4history.go(-2)</button>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus