Back

.filter( selector )

Reduce the matched set to the ones that match an additional selector

Params

selector{Selector}A selector expression to match elements against

Returns

DollarJS (reduced set)

Examples

$('p').filter('.foo')