eyed

1、返回上一页

  1)<a href="javascript:history.go(-1)"></a> 

  2)<a href="javascript:" onclick="history.back(); "></a>

2、刷新当前页面

  <a href="javascript:location.reload()"></a> 

3、返回前两页

  <a href="javascript:" onclick="history.go(-2); "></a> 

4、返回上一页并刷新

  <a href="javascript:" onclick="self.location=document.referrer;"></a> 






分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-12-05
  • 2021-12-05
  • 2021-12-05
  • 2021-12-05
  • 2022-01-07
  • 2022-12-23
猜你喜欢
  • 2021-12-05
  • 2021-12-05
  • 2021-12-05
  • 2021-12-05
相关资源
相似解决方案