Answers for "how to go back on page using javascript"

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

Code answers related to "how to go back on page using javascript"

Browse Popular Code Answers by Language