Home >Web Front-end >JS Tutorial >js returns to the previous page, refreshes this page and reloads the page_javascript skills

js returns to the previous page, refreshes this page and reloads the page_javascript skills

WBOY
WBOYOriginal
2016-05-16 16:41:001456browse
<a href="javascript:history.go(-1)" rel="external nofollow" >返回前一页</a>
<a href="javascript:location.reload()" rel="external nofollow" 刷新本页</a>
<a href="javascript:history.go(-1);location.reload()" rel="external nofollow" >返回前一页重载页面,刷新本页</a>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn