jQuery 返回上一页

//以下方法仅供参考1、返回上一页,不刷新history.html

window.history.go(-1); 

javascript:window.history.go(-1)

2、返回上一页并刷新页面

avascript:location.replace(this.href);event.returnValue=false;

3、返回上一页并刷新
self.location=document.referrer

4、返回上一页面刷新的是自己

javascript:document.parentWindow.location.reload();

 

posted @ 2020-08-05 18:47  孤陌  阅读(3004)  评论(0编辑  收藏  举报