Created
July 14, 2016 01:32
-
-
Save ryanlid/a20f4334996e1c174118f73c87d44810 to your computer and use it in GitHub Desktop.
返回上一页的几种写法~
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment