Answers for "javascript redirect on page load"

7

js onclick redirect

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

javascript redirect to another page

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

javascript howdo i redirect-to another webpage

window.location = "https://example.com/";
Posted by: Guest on May-20-2020

Code answers related to "javascript redirect on page load"

Code answers related to "Javascript"

Browse Popular Code Answers by Language