How to set target of the first anchor tag link only?

 Posted by vishalneeraj-24503 on 2/4/2015 | Category: jQuery Interview questions | Views: 446 | Points: 40
Answer:

Using the prop property of jQuery , we can do as:-
$('a').prop('target','_blank');


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response