标签: jQuery
jQuery :nth-child() 选择器
实例 Run this code » 选取属于其父元素的第三个子元素的每…
jQuery :last-of-type 选择器
实例 Run this code » 选取属于其父元素的最后一个 <…
jQuery :last-child 选择器
实例 Run this code » 选取属于其父元素的最后一个 <…
jQuery :first-of-type 选择器
实例 Run this code » 选取属于其父元素的第一个 <…
jQuery :first-child 选择器
实例 Run this code » 选取属于 <p> 的父…
jQuery :odd 选择器
实例 Run this code » 选择每个相隔的(奇数)<tr…
jQuery :even 选择器
实例 Run this code » 选择每个相隔的(偶数)<tr…
jQuery :last 选择器
实例 Run this code » 选取最后一个 <p> …
jQuery :first 选择器
实例 Run this code » 选取第一个 <p> 元…
jQuery 多个元素 选择器
实例 Run this code » 选取所有 <h2>、&…