[jQuery] Select elements without specific children
[jQuery] Select elements without specific children
Hi all, I want to select all line items without child a tags with a class of 'on'. I can select the line items with the a tags: $('li.expandable[a.on]'); But when I try :not I come up empty: $('li.expandable:not(li.expandable[a.on])'); What am I doing wrong? Adam -- View this message in context: http://www.nabble.com/Select-elements-without-specific-children-tf3260789.html#a9062578 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/