星期四, 1月 03, 2013

[jQuery API] 指定selector不包含某些屬性

簡單的selector筆記

$("a:not([href*=word1],[href*=word2])").click(function() { //do something });

沒有留言:

張貼留言

留個話吧:)

其他你感興趣的文章

Related Posts with Thumbnails