This function script will return an array of tags based on DOM element, tag, and class name. For example, getElementsByClassName(document, 'tr', 'info') will return to you an array of all "tr" tags under the document node having the "info" class.
getElementsByClassName(document, 'tr', 'info')
tr
info
Over 2000+ free Javascript at JavaScriptBank.com Website
View source code for details