Find All Elements By Class
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.


Leave a Response
(0 comments)