Open Links in New Pop off Window using Jquery

Here we want to open the links provided in the a tag in the new window.


        <script type="text/javascript" src=""></script>
        <a href="" >click me</a>
        <a href="" >click me</a>


$(document).ready(function(){ $("a").click(function(){ event.preventDefault();$(this).attr("href"), "My Task", width=600,height=300); }); })

Run it here Jsfiddle

1 comment:

  1. hi guys i have one doubt that is i can give one word that is "one" after given this word i want to this kind of answer like "one" ,"neo" ,"eno" can u pls do it and forward me