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;
});
});

No comments yet


Copyright © Luvsic. Some rights reserved.