Answers for "javascript make page go back"

2

javascript page back

<button onclick="goBack()">Go Back</button>

<script>
function goBack() {
  window.history.back();
  }
</script>
Posted by: Guest on March-19-2021
0

javascript link to go back

<a href="#" onclick="history.go(-1);return false;">[Go Back]</a>
Posted by: Guest on March-17-2021

Browse Popular Code Answers by Language