Answers for "window.location.href set target to _blank js"

4

javascript location href target _blank

window.open('http://www.google.com', '_blank');
Posted by: Guest on May-07-2020
0

window.location.href target blank

<script type="text/javascript">
$("#site").on('click', function(){
    window.open("http://www.someone.com/","_blank");
});
</script>
Posted by: Guest on November-02-2020

Code answers related to "window.location.href set target to _blank js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language