jQuery and (filtering) selectors
And (filter) selector
##:first
Usage:$("tr:first");A collection of single elements
Match the first element found
##:last
:no(selector)
##:even
Matches all elements with even index values, counting from 0
##:odd
Match all elements with odd index values, counting from 0
:eq(index)
Matches an element with a given index value, counting from 0
:gt(index)
Matches all elements greater than the given index value, counting from 0
##:lt(index)
Matches all elements less than the given index value, counting from 0
##:header
matches such as h1, Title elements such as h2, h3
php.cn php.cn
php.cn
php.cn
php.cn
- 北京
- 上海
- 广州
- 深圳
- 杭州
- 武汉
- 南京
- 天津