What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-26 13:50:02
How do I redirect to another webpage
// similar behavior as an HTTP redirect window.location.replace("http://stackoverflow.com"); // similar behavior as clicking on a link window.location.href = "http://stackoverflow.com"; // Another method for doing redirecting with Ja... Add solution