Answers for "navigate to another html page using javascript"

7

js onclick redirect

<button onclick="location.href='www.yoursite.com'">Click Me</button>
Posted by: Guest on June-16-2020
15

javascript redirect

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

javascript redirect

window.location.href = "http://mywebsite.com/home.html";
Posted by: Guest on July-18-2019

Code answers related to "navigate to another html page using javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language