If a selector is provided, only remove elements that match the new selector
DollarJS (chainable)
$('p').remove('.foo')
If a selector is provided, only remove elements that match the new selector