Posted By

diogoweb on 05/03/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

maltem


Add “odd” class to alternate table row (and change the background color of the class via CSS to have stripes effect for tabl


 / Published in: jQuery
 

URL: http://eisabainyo.net/weblog/2010/09/01/10-useful-jquery-snippets/

  1. $('tr:odd').addClass('odd');

Report this snippet  

You need to login to post a comment.