I want to select list items that are immediate children of #nav, that do not themselves have immediate children with an \'active\' class.
This is what I think it sho
This is how you do it:
$('#nav > li:not(:has(a.active))')