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

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


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