/ Published in: jQuery
Expand |
Embed | Plain Text
//Open external links in a new window/tab $("a[href^='http://']").attr("target","_blank");
You need to login to post a comment.
coryschadt on 12/15/09
1 person have marked this snippet as a favorite
//Open external links in a new window/tab $("a[href^='http://']").attr("target","_blank");
You need to login to post a comment.