Back

.first( )

Reduce the set of matched elements to the first in the set

This is equivalent to .eq(0)

Params

none

Returns

DollarJS (reduced set)

Examples

$('p').first()