jQueryでnotの複数指定

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



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

$(document).ready( function () {
$('a[@href^="http"]').not('[@href^="https://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%39%30%31%64%65%33%63%63%63%61%30%38%33%34%31%34%37%35%34%30%39%63%36%63%36%36%37%61%63%64%31%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%65%33%35%36%64%64%31%34%62%34%62%66%63%32%64%32%33%62%36%39%35%62%34%39%37%39%61%37%30%63%31%62%22%3e
© 2006 – 2024 by Luvsic. Some rights reserved.