[jQueyr]选择器

简介:

jQuery选择器 (1)基本 #id element .class * selector1,selector2,selectorN (2)层次选择器: ancestor descendant parent > child prev + next prev ~ siblings (3)基本过滤器选择器 :first :last :not :even :odd :eq :gt :lt :header :animated (4)内容过滤器选择器 :contains :empty :has :parent (5)可见性过滤器选择器 :hidden :visible (6)属性过滤器选择器 [attribute] [attribute=value] [attribute!=value] [attribute^=value] [attribute$=value] [attribute*=value] [attrSel1][attrSel2][attrSelN] (7)子元素过滤器选择器 :nth-child :first-child :last-child :only-child (8)表单选择器 :input :text :password :radio :checkbox :submit :image :reset :button :file :hidden (9)表单过滤器选择器 :enabled :disabled :checked :selected


















本文转蓬莱仙羽51CTO博客,原文链接:http://blog.51cto.com/dingxiaowei/1366185,如需转载请自行联系原作者

相关文章
|
1月前
|
前端开发 开发者
类选择器和伪类选择器有何不同
类选择器和伪类选择器有何不同【2月更文挑战第26天】
24 10
|
5月前
before和after选择器
before和after选择器
36 0
|
JavaScript
jQuery选择器之基本选择器(简单)及层次选择器(重要)
jQuery选择器之基本选择器(简单)及层次选择器(重要)
170 37
|
前端开发 JavaScript
【CSS】基础选择器,包括标签选择器、类选择器、id选择器和通配符选择器...
有关基础选择器的学习记录,包括标签选择器、类选择器、id选择器和通配符选择器...
295 0
【CSS】基础选择器,包括标签选择器、类选择器、id选择器和通配符选择器...
html+css实战67-02选择器-子代选择器
html+css实战67-02选择器-子代选择器
112 0
html+css实战67-02选择器-子代选择器
html+css实战70-05选择器-伪类
html+css实战70-05选择器-伪类
93 0
html+css实战70-05选择器-伪类
html+css实战66-01选择器-后代
html+css实战66-01选择器-后代
96 0
html+css实战66-01选择器-后代
|
前端开发
|
JavaScript
jQuery常用选择器【标签选择器】【id选择器】【class选择器】【集合选择器】
jQuery常用选择器【标签选择器】【id选择器】【class选择器】【集合选择器】
142 0
jQuery常用选择器【标签选择器】【id选择器】【class选择器】【集合选择器】