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
For this jquery has the not selector
you can do something like
$("#nav > li").children(":not(.active)");