how to redirect to a certain page when click on a input javascript code example Example: javascript link to another page window.open("http://mywebsite.com/home.html")