[jQuery] Re: selecting all element with a given class but not another one.

2008-10-02 Thread Klaus Hartl
Try: $('[class=RepeatedItem]') --Klaus On 2 Okt., 11:57, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I can't figure out what the syntax is to select all the elements which > have a given class but not another given class. > Example : I want all the elements with class .RepeatedIt

[jQuery] Re: selecting all element with a given class but not another one.

2008-10-02 Thread BB
$(".RepeatedItem:not(.RepeatedItemSelected)") On 2 Okt., 11:57, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I can't figure out what the syntax is to select all the elements which > have a given class but not another given class. > Example : I want all the elements with class .Repeate