YouTip LogoYouTip

Sel Parent Descendant

# jQuery Parent Descendant Selector [![Image 4: jQuery Selectors](#) jQuery Selectors](#) ## Example Select all elements that are descendants of
elements: $("div span") [Try it Β»](#) * * * ## Definition and Usage The ("parent descendant") selector selects all elements that are descendants of a specified parent element. An element's descendant can be its first generation, second generation, third generation, and so on. * * * ## Syntax ("_parent descendant_") | Parameter | Description | | :--- | :--- | | _parent_ | Required. Specifies the parent element to select. | | _descendant_ | Required. Specifies the descendant elements (of the specified parent) to select. | * * * ![Image 5: Example](#) ## Try it - Example [Select all
  • elements that are descendants of
      elements](#) How to select all
    • elements that are descendants of
        elements. * * jQuery Selectors](#)
  • ← Sel Previous NextSel Multiple Classes β†’