javascript onclick of a button open a link code example
Example 1: javascript open link with button
<input type="button" onclick="window.open('http://www.example.com','_blank','resizable=yes')" />
Example 2: onclick open link js
window.open(url);