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 children() Method

jQuery children() Method



The children() method is used to return all direct children of the selected element. It is only used to traverse down a single level. For multiple levels, we have to use find() method. This method cannot be used for getting text nodes.




Its syntax is:- $(selector).children(filter)


Further Explanation:-


Parameter Description
filter Optional. Specifies a selector expression to narrow down the search for children

Code Explanation

All Tutorials related to jQuery Traversing

All Sections related to Jquery