jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery first() Method

jQuery first() Method



The first() method is used to return the first element of the selected elements. If we want to get the last element, then we have to use the last() method.




Its syntax is:- $(selector).first()

Code Explanation

All Tutorials related to jQuery Traversing

All Sections related to jQuery