Response title
This is preview!
<script>
function goBack() {
history.go(-1);
}
</script>
<a onclick="goBack()">Back</a>
Ha! Because there is no referer! It's the browser going back in it's history locally. Referer comes in a header from the server. When you go(-1) there's no request to the server.history.go(-1) does not work with document.referer!
Sorry, but all solutions except onclick='window.history.go(-1);return false;' are not working for me...
© 2013 jQuery Foundation
Sponsored by and others.