jQuery parent selection
Definitions and usages
The ("parent descendant") selector selects all elements of the descendants of the specified element.
The descendants of an element can be the first, second, third, and so on.
Grammar
parameter | describe |
---|---|
parent |
Required.The parent element to be selected is specified.
|
descendant | Required.Provisions (specify the parent element) of the descendant element. |
Try it - instance
Select all the elements of the offspring of the element
How to select all the elements of the offspring of the element.