Answers for "reedirecting to a new page on LInk press"

43

undo commit

# KEEP CHANGES
git reset --soft HEAD~1

# REMOVE CHANGES
git reset --hard HEAD~1
Posted by: Guest on April-07-2020
2

html redirect to another page

<script>
  function foo() {
  	window.location.href = url
  }
</script>
Posted by: Guest on December-09-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language