/ Published in: JavaScript
A JS function that stripes the tables ("table" elements) of a document. It takes no arguments. Add a new class ("odd") to the odd rows that needs to be styled using CSS. Use addClass function.
From book Dom Scripting by Jeremy Keith.
From book Dom Scripting by Jeremy Keith.