getElementsByClassName without jQuery
In addition to “addClass, removeClass and hasClass without jQuery” article I wrote an example implementation of getElementsByClassName()
method to catch a collection of objects, referencing them by their class name, when you can’t or don’t want to use jQuery and it’s superb class-selectors.