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個子元素  
相關文章
相關標籤/搜索