window.location.href target blank
window.open('http://www.google.com', '_blank');
4.1
10
<script type="text/javascript">
$("#site").on('click', function(){
window.open("http://www.someone.com/","_blank");
});
</script>
Thank you!
10
0
Are there any code examples left?
New code examples in category Javascript