jQuery and (filtering) selectors

And (filter) selector


##:first

Usage:$("tr:first");A collection of single elements

Match the first element found


##:last

Matches the last element found



:no(selector)

Remove so Elements matching the given 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

  • 北京
  • 上海
  • 广州
  • 深圳
  • 杭州
  • 武汉
  • 南京
  • 天津
Continuing Learning
||
php.cn

php.cn

php.cn

php.cn

php.cn

  • 北京
  • 上海
  • 广州
  • 深圳
  • 杭州
  • 武汉
  • 南京
  • 天津
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!