$(".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 .RepeatedItem but which > don't have the class .RepeatedItemSelected. > > I've tried this with no luck : > > $(".RepeatedItem + not:(.RepeatedItemSelected)") > > Does anyone know the syntax ? > Thanks