If selector is provided, the results will only include siblings that match the selector
DollarJS (new set)
$('p').prev()
$('p').prev('.foo')
If selector is provided, the results will only include siblings that match the selector