jQuery :eq() Selector
Definition and Usage
:eq() selector selects elements with the specified index elements with the value.
index The value starts from 0, and all the first elements index The value is 0 (not 1).
It is often used with other elements/selectors to select the element at a specific sequence number within a specified group (as shown in the above example).
Syntax
$(':eq('index)
Parameter | Description |
---|---|
index | Required. Specifies the index value of the element. |