This is not tested, but something like this might do it:

     $("table.xy tr:visible").each(function(index) {
         if (index %2 == 1) {
             $(this).addClass("odd");
         }
     });

It's perfect, thank you!

Reply via email to