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