Course Content

  • 8.3 prev
  • 8.3 prevAll
  • 8.3 prevUntil
  • 8.3 siblings

Course Content


following ( [selector ] ) jQuery is returned. Get the sibling of each element in the collection of matched elements that is immediately following it. If a selector is specified, the next sibling is only returned if it matches the selector.

In jQuery, the siblings() method is used to locate all siblings elements of the selected element. In the DOM Tree, siblings are those with the same parent element. The DOM (Document Object Model) is a standard developed by the World Wide Web Consortium. This specifies how to get to items in the DOM tree.

jQuery traversing (which literally means "move through") is a technique for "finding" (or selecting) HTML components based on their relationships with other elements. Start with one option and work your way through it until you find the elements you want. An HTML page is depicted as a tree in the image below (DOM tree).

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