Run
Online Code Editor
jQuery :nth-child selector
Welcome to the javaTpoint.com
It is an example of using the jQuery :nth-child selector.
1
2
3
4
5
6
7
8
9
10
Click the following buttons to see the effect.
:nth-child(7)
Odd
Even
:nth-child(4n+4)