Course Content

  • 8.4 last
  • 8.4 not

Course Content


You can use this method to specify a set of criteria. Elements that do not meet the requirements are eliminated from the list, while those that do are returned. This technique is frequently used to limit down the search for a certain element within a bunch of items.

The first(), last(), and eq() filtering methods let you to select a specific element depending on its location in a set of elements. Other filtering methods, such as filter() and not(), let you choose elements that meet or don't meet a set of criteria.

The find() method is used to locate all of the selected element's descendent elements. By traversing the DOM tree from root to leaf, it locates the element. The filter() method filters all of the items and returns the one that matches, while removing the elements that do not.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere