Answers for "javascript change url redirect"

1

javascript change url without redirect

window.history.pushState("", "", '/newpage');
Posted by: Guest on October-12-2020
50

javascript redirect to url

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

Code answers related to "javascript change url redirect"

Code answers related to "Javascript"

Browse Popular Code Answers by Language