I'm sure if you dig into the jQuery library that ":even" and ":odd" are doing something along the lines of "nth-child"
well, not *too* sure, but it makes some sense at least On Jan 12, 6:41 pm, rolfsf <rol...@gmail.com> wrote: > that's too easy - it can't be right ;-) > > I guess my mistake was trying to use the nth-child(even)? > > On Jan 12, 12:36 pm, Karl Swedberg <k...@englishrules.com> wrote: > > > Simpler still would be this: > > > $(this).find("tbody tr:visible:even").addClass("alt"); > > > --Karl