how to redirected url by js code example Example: javascript link to another page window.open("http://mywebsite.com/home.html")