Question and answer is powered by AnsPress.io
How can I redirect the user from one page to another page using jQuery and JavaScript?
You can try this.
// same behavior as an HTTP redirect
window.location.replace("http://datainflow.com");
// same behavior as clicking on a link
window.location.href = "http://datainflow.com";