go back in javascript code example
Example 1: js go back
history.back()
Example 2: javascript link to go back
<a href="#" onclick="history.go(-1);return false;">[Go Back]</a>
history.back()
<a href="#" onclick="history.go(-1);return false;">[Go Back]</a>