Answers for "js go to another url"

4

javascript got to url

window.location.href = "https://www.google.com"
Posted by: Guest on December-03-2020
15

javascript redirect

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

javascript go to url

window.location = url;
Posted by: Guest on February-26-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language