What\'s the best way to get an array of all elements in an html document with a specific CSS class using javascript?
No javascript frameworks like jQuery allowed her
You can include a getElementsByClass function, or you can use a jQuery selector.
UPDATE: The implementation mentioned by @Shog9 is probably better than that above.