Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

window.location.href target blank

<script type="text/javascript">
$("#site").on('click', function(){
    window.open("http://www.someone.com/","_blank");
});
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #target #blank
ADD COMMENT
Topic
Name
7+4 =