jQueryでnotの複数指定

忘れないうちに。
ううーん、こんなのでいいのだろうか



/*** another location use _target ***/

$(document).ready( function () {
$('a[@href^="http"]').not('[@href^="http://luvsic.net/"]').not('[@href^="http://imgred.com/"]').click(function(){
window.open(this.href, '');
return false;
});
});
Skooler Records

No comments yet

%3c%69%6e%70%75%74%20%74%79%70%65%3d%22%68%69%64%64%65%6e%22%20%6e%61%6d%65%3d%22%6e%70%5f%70%72%6f%74%65%63%74%62%79%6d%64%35%22%20%76%61%6c%75%65%3d%22%31%30%64%66%34%61%34%65%33%66%35%36%33%37%64%63%65%66%35%61%35%37%65%39%35%62%30%64%32%62%63%64%22%3e %3c%69%6e%70%75%74%20%74%79%70%65%3d%22%68%69%64%64%65%6e%22%20%6e%61%6d%65%3d%22%6e%70%5f%70%72%6f%74%65%63%74%62%79%6d%64%35%5f%68%61%73%68%22%20%76%61%6c%75%65%3d%22%36%63%30%63%66%37%61%31%30%30%61%65%32%34%39%30%36%62%36%38%34%64%65%65%33%61%30%34%61%35%62%37%22%3e
© 2006 – 2014 by Luvsic. Some rights reserved.