Up until now, I haven't had any issues using the following code:
$("#tableid tr:even").addClass("evenClass");
However, my table now contains hidden rows which is causing problems with the alternating row styles. I've attempted to add 'is(":visible")' and other solutions without success. Any suggestions?