javascript function clicking into a new website code example Example: onclick open link js window.open(url);