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
You'll need to use jQuery's filter function:
filter
$('#nav > li').filter(function() { return !($(this).children().is('.active')); })