jQueryでnotの複数指定
- 投稿日 : 2007-07-26, 03:11()
- タグ(jQuery)
- カテゴリ(Javascript)
- 記し人(luvsic)
- 閲覧数(533)
- test null 13
- test 1-3
- test 2-3
忘れないうちに。
ううーん、こんなのでいいのだろうか
/*** 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;
});
});
$(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