Put elements by class name in an array and alert it with Javascript
<p>How can I get all of the elements on a web page that have a certain class name and put them into an array? Then I want to be able to put the contents of that array in an alert box?</p>

<p>How can I put those elements id's into the array?</p>
