Alter Table Row Background Colors Using JavaScript
Many sites that present tabular data use alternating background colors to increase the readability of that data. And as I developed a site, I realised I wanted to do that, too. The problem? In my case the table was not generated by a server side application or script of which you can find numerous examples on the Web.
Svanberg, Kennet. SitePoint (2005). Design>Web Design>CSS>DHTML