Back
.has( selector )
Reduce the set of matched elements to those that have a descendant that matches a new selector
Params
selector
{
Selector
}
A selector expression to match elements against
Returns
DollarJS (reduced set)
Examples
$('p').has('span')