Open link with new window

Submitted by:Jhon Jhon

Date added:26 January, 2013

Category:jQuery

jQuery code example to open link in a new window

Tags: open link

Code Snippet:

$('a[@rel$='external']').click(function(){
this.target = "_blank";
});
 
 

Comments