javascript返回上一页并刷新

<a href="javascript:history.go(-1)">返回上一页</a>
<a href="javascript:location.reload()">刷新当前页面</a>
<a href="javascript:" onclick="history.go(-2); ">返回前两页</a>
<a href="javascript:" onclick="self.location=document.referrer;">返回上一页并刷新</a>
<a href="javascript:" onclick="history.back(); ">返回上一页</a>

 

摘自:https://www.jb51.net/article/47315.htm

posted @ 2024-08-11 16:51  哆啦阿梦  阅读(1)  评论(0编辑  收藏  举报