Answers for "redirect to another html vanilla js"

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 "redirect to another html vanilla js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language