The results will only include direct parents and will not traverse any higher ancestors
If selector is provided, the results will only include parents that match the selector
DollarJS (new set)
$('p').parent()
$('p').parent('.foo')
The results will only include direct parents and will not traverse any higher ancestors
If selector is provided, the results will only include parents that match the selector