Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

open link in a new tab progmatically

<a class="link">Link</a>
<script  type="text/javascript">
     $("a.link").on("click",function(){
         window.open('www.yourdomain.com','_blank');
     });
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #open #link #tab #progmatically
ADD COMMENT
Topic
Name
7+5 =