Sure. $("table.font_quotazioni tr:even:not('.midlight')")... http://docs.jquery.com/Selectors/not#selector
stephen On Tue, Dec 23, 2008 at 10:01, m.ugues <m.ug...@gmail.com> wrote: > > Hallo all. > I got a table like this > > <table class="font_quotazioni"> > <thead> > <tr> > <th title="Data Contabile" class="chars4">Nome</th> > </tr> > </thead> > <tbody> > <tr class="midlight" > > <td>foo</td> > </tr> > <tr> > <td>foo</td> > </tr> > <tr> > <td>foo</td> > </tr> > </tbody> > </table> > > In my document.ready I set a class on even rows > > $("table.font_quotazioni tr:even").addClass("even"); > > I would like to exclude all the rows that got a certain class (e.g <tr > class="midlight" >) > Is it possible? >