Answers for "html redirect page button"

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language