21 Feb 2017 23:44 +0000

// Make an HTTP redirect in JavaScript

window.location.replace("http://stackoverflow.com");

// Link to a new page in JavaScript

window.location.href = "http://stackoverflow.com";

How do I redirect to another page in JavaScript/jQuery?


Loading comments...