Posted By

LeeRJohnson on 10/27/10


html strict accessibility XHTML11

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


jQuery Remove target Attribute

 / Published in: jQuery

Removes target attributes from elements in one line of jQuery. Useful to prevent links opening in pop-ups.

  1. $('[target]').removeAttr('target');

Report this snippet  

You need to login to post a comment.