go to a certain page using javascript code example
Example 1: javascript redirect
window.location.href = "http://mywebsite.com/home.html";
Example 2: javascript go to page
window.location.href = "http://example.com/new_url";
window.location.href = "http://mywebsite.com/home.html";
window.location.href = "http://example.com/new_url";