DOM Example: getElementsByClassName
This example demonstrates how to use Dom.getByClassName to get a collection of elements with a particular class name.
Click anywhere to test.
div class="test"
div class="test2 test"
div class="test test2"
div class="test "
div class=" test "
div class=" test2 test"
div class="test test2 "
div class="test2 test "
div class=" test2 test"
div class=" test2 test "
div class="test3 test2 test"
div class="test2 test3"