Thanks everyone, that did it.  I was looking at gotAPI which doesn't mention
that issue.  Not sure who takes care of that, but guess it should be
updated.

One question: is there a best practice regarding using the .not method vs.
the :not pseudo-class?

Btw, in my tests, and in examples I've found, the pseudo-class selector does
not require quotes (at least it doesn't for :not).

Adam



Karl Swedberg-2 wrote:
> 
> Hi Adam,
> 
> try this:
> 
> $('li.expandable:not("[a.on]")')
> 
> A couple things to note:
> 1. you don't need to repeat "li.expandable" inside the ":not"
> 2. If you are using single quotation marks around the whole selector  
> expression, use double quotation marks around the selector for  
> the :not pseudo-class.
> 
> Cheers,
> --Karl
> _________________
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
> 

-- 
View this message in context: 
http://www.nabble.com/Select-elements-without-specific-children-tf3260789.html#a9081248
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to