Back

.eq( index )

Reduce the matched set to the one element at a specific index

Params

index{Integer}Indicates the position of the element to keep. Negative values count backwards from the end of the set.

Returns

DollarJS (reduced set)

Examples

$('p').eq(3)
$('p').eq(-1)