Answers for "js redirect locaion"

15

javascript redirect

<script>
  window.location.href = "http://mywebsite.com/home.html";
</script>
Posted by: Guest on April-13-2020
2

javascript redirect

<p onclick="myFunction()"></p>
<script>
function myFunction() {
	  window.location.href = "https://whereyouwouldliketogo.com"
}
</script>
Posted by: Guest on April-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language