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.
Comments