Posted By

flickerbulb on 01/17/08


Tagged

xhtml strict jquery validation target


Versions (?)

Who likes this?

15 people have marked this snippet as a favorite

heinz1959
korzhik
mikegreen
penguin999
Jdub7
mbarilla
vladikoff
zoblue
adambundy
doodledan
pchengsf
seanpowell
aegony
meshwerk
wirenaught


jquery snip -- open link in new window


 / Published in: JavaScript
 

URL: http://www.thefutureoftheweb.com/blog/target-blank-xhtml11

  1. $(function(){
  2. $('a.new-window').click(function(){
  3. window.open(this.href);
  4. return false;
  5. });
  6. });

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: krazy on November 23, 2011

Is it possible to open a new tab in JS?

You need to login to post a comment.