Using getElementsByClassName to Obtain an Array
This discussion looks at how to construct a function to get an array of all the elements with a specified class. Very interesting, with many excellent points.
Read more here
edit: Programming/Javascript/auto___using_getelementsbyclassname_to_obtain_an_array.wikieditish...