Answers for "how to redirect to another link in javascript"

50

javascript redirect to url

window.location.href = "http://mywebsite.com/home.html";
Posted by: Guest on July-18-2019
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 redirect to another link in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language