js返回上一页并刷新的几种方法:<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>
时间: 2024-10-06 07:19:18