jQuery的选择器(四)

2019独角兽企业重金招聘Python工程师标准>>> 三、过滤选择器 5. 子元素过滤选择器 :nth-child :nth-child(index):获取第index个子元素 ,index从1开始,与:eq(index)区别开 :nth-child(even):获取第偶数个子元素 :nth-child(odd):获取第奇数个子元素 :nth-child(xn+y) :获取第xn+y个子元素  
相关文章
相关标签/搜索