Tutorialsplane

jQuery first method


jQuery first method() is used to get the first element of the selected element.

Syntax : jQuery first method

$(selector).first();

Note : It accepts no arguments.

jQuery first method Example

jQuery first() Method – Example


Try it »