this simple line of code:
<a href="#" value="Go back!" onclick="history.back()" class="nav-li" >Back</a>
works good for Chrome and Firefox, but not for Safari and IE..., for IE it normal case, only very strange persons use it, but why Safari ?
Note: the whole project is done with django 1.45
它应该是history.go(-1)
否则它将无效。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.