页面返回并刷新的办法

页面返回并刷新:

<a href="javascript:location.replace(document.referrer);">......</a>

返回上一页的办法:

<a href="location.go(-1);"></a>

<a href="location.back();"></a>

页面刷新的方法:

<a href="location.go(0);"></a>

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

 

posted @ 2016-07-12 22:40  GeniusFirstMove  阅读(357)  评论(0编辑  收藏  举报