jQuery :eq() Selector
jQuery :eq() Selector
The :eq() selector is used to select an element with a specific index number. As index numbers start at 0, therefore, the first element will have the index number 0.
Syntax:-
Its syntax is:- $(":eq(index)");
Further Explanation:-
Parameter | Description |
---|---|
index | Required. Specifies the index of the element |