javascript redirect status code code example
Example 1: javascript redirect
window.location.href = "http://mywebsite.com/home.html";
Example 2: javascript response redirect
window.location = "SomePage.aspx";
window.location.href = "http://mywebsite.com/home.html";
window.location = "SomePage.aspx";