go to new page javascript

JavaScript
window.location.href = "http://mywebsite.com/home.html";
Source

Also in JavaScript: