jQuery :first Selector
Definition and Usage
:first selector selects the first element.
The most common usage: used with other elements to select the first element in the specified combination (as shown in the above example).
Syntax
$(':first')
:first selector selects the first element.
The most common usage: used with other elements to select the first element in the specified combination (as shown in the above example).
$(':first')