Answers for "how to use blank in window.location.href"

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 "how to use blank in window.location.href"

Code answers related to "Javascript"

Browse Popular Code Answers by Language