.find()

Searches through the descendants of matched elements and returns a new jQuery object with all matching elements found.

Syntax

jquery
$(selector).find(childSelector)

Example

jquery
var links = $(".nav").find("a");
links.addClass("nav-link");

var inputs = $("form").find("input, select, textarea");
inputs.each(function() {
  console.log($(this).val());
});

$(".card").find(".card-title").css("font-weight", "bold");