Back
.add( selector, [context] )
Add elements that match a new selector to the current set
Params
selector
{
Selector
}
A selector expression to match elements against
context
{
Context
} [optional]
The context to use while searching for matches
Returns
DollarJS (expanded set)
Examples
$('p').add('span')