Thursday, November 17, 2011

JQuery alternate row style

If you have a table with lots of rows, it is really need to set different background color for alternating rows. If your table row are generating dynamically then its not possible through html. Use below code to add a different background color to every other row.
In CSS define a class even and odd.


No comments: