Answers for "js window 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

Browse Popular Code Answers by Language