jQuery Descendants
children, find.
jQuery Descendants
A descendant is a child, grandchild, great-grandchild, and so on.
Two useful jQuery methods for traversing down the DOM tree:
children()- Returns all direct children of the selected elementfind()- Returns descendant elements of the selected element, all the way down to the last descendant