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
Use jquery, it can't be more convenient.
$(".theclass") or $(".theclass"),makeArray() if you want a native JS array