Answers for "window.location as target blank"

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 "Javascript"

Browse Popular Code Answers by Language