General
A function that returns an array of elements based on DOM element, tag, and class name. For instance, getElementsByClassName(document, 'tr', 'info') will return an array of all "tr" tags under the document node having the "info" class.
Notes
- Created by: Joe Homs
- Web Site: http://bitshaker.com/
- Posted: November 30, 2007
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: findElementsByClass.js
Head
Paste this code into the HEAD section of your HTML document.
User Comments
Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.
