window redicrect javascript code example
Example 1: redirect with javascript
window.location.replace('http://mywebsite.com/home.html');
Example 2: javascript link to another page
window.open("http://mywebsite.com/home.html")
window.location.replace('http://mywebsite.com/home.html');
window.open("http://mywebsite.com/home.html")