jQuery find() Method
jQuery find() Method
The find() method is used to return descendant elements of the selected element. It can be a child, grandchild, great-grandchild, and so on. It traverses downwards on the currently selected element. For only traversing a single level down, we can use children() method.
Syntax:-
Its syntax is:- $(selector).find(filter)
Further Explanation:-
Parameter | Description |
---|---|
filter | Required. A selector expression, element, or jQuery object to filter the search for descendants |