摘要: 一、元素选择 二、属性选择 三、内容选择 四、反向选择 :not() $("div:not(:has(p))") $(p:not([href])") $("p:not(:contains('abc'))") 不包含子元素p的div元素 没有属性href的元素 不包含指定字符串的p元素 $("div: 阅读全文
posted @ 2016-10-08 20:57 双飞翼 阅读(2033) 评论(0) 推荐(2) 编辑