Simple extension of the standard browser native DOM methods (though probably not much longer)
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
getElementsByClassName.js

README

getElementsByClassName.js

This is pretty self-explanatory, if a native method isn't present on the document
to get DOM nodes by class name (document.getElementsByClassName), my function
flatly traverses the DOM for elements with a particular class name (additionally,
it supports multiple classes on an element and a starting point).