Answers for "how to navigate web pages in javascript"

15

javascript redirect

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

redirect with javascript

window.location.replace('http://mywebsite.com/home.html');
Posted by: Guest on March-17-2020

Code answers related to "how to navigate web pages in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language