Select Matching Descendants .find(selector)

.find(selector)

e.g. $("div").find("span")

.find(selector) selects descendants matching selector.

Example 1: $("div").find("*") will find all descendants of element <div>.
<div>
  <span>
    <b>a</b>
  </span>
</div>
Example 2: $("div").find("b") will find all descendants of type <b> for each ancestor element <div>.
<div>
  <span>
    <b>a</b>
  </span>
</div>
jQuery traversing tree .find(selector)