window.history.go(-1);//返回上一页不刷新window.location.href=document.referrer;//返回上一页并刷新以下常用代码:返回上一页或返回上一页如果使用按钮完成:如果用图片的话就是:[color=#FF0000]几秒后[/color]自动返回上一页代码:(两个头之间相加,3000表示3秒)functiongo(){window.history.go(-1);}setTimeout("go()",3000);参考介绍:https://blog.csdn.net/yanwuxp..
关于js返回上一页的实现方法相关文章