redirect the page in javascript code example
Example 1: redirect the page in javascript
window.location.href = "http://mywebsite.com/home.html";
Example 2: javascript link to another page
window.open("http://mywebsite.com/home.html")
window.location.href = "http://mywebsite.com/home.html";
window.open("http://mywebsite.com/home.html")