Alternate row colors with jQuery

I was in the need of a script for alternating row colors in a table on a web site I'm doing. I've done this before, but since I'm getting into jQuery these days I thought I'd try to find a way of doing it using this.

Well, a little Googling and I came upon this website.

This is an excerpt from the book Learning jQuery. Need to try and get my boss to buy that one.

Comments