[jQuery] Re: Select all even row in table that are not with a specified class.

2009-02-11 Thread Ricardo Tomasi
Yes, you can. In doubt, just try it, it doesn't hurt :) $("table.font_quotazioni tr:odd:not(.highlight,.midlight)").addClass ("even"); $("table.font_quotazioni tr:odd:not(.highlight):not (.midlight)").addClass("even"); $("table.font_quotazioni tr:odd").not(".highlight, .midlight").addClass ("even

[jQuery] Re: Select all even row in table that are not with a specified class.

2009-02-11 Thread m.ugues
Is it possibile to add a condition in or to the not condition? jQuery("table.font_quotazioni tr:odd:not ('.highlight','.midlight')").addClass("even"); Kind regards Massimo Ugues On Dec 23 2008, 10:04 pm, aquaone wrote: > Sure. > $("table.font_quotazioni > tr:even:not('.midlight')")...http:

[jQuery] Re: Select all even row in table that are not with a specified class.

2008-12-23 Thread aquaone
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 wrote: > > Hallo all. > I got a table like this > > > > > Nome > > > > > foo > > >