JavaScript and getElementById for multiple elements with the same ID
<p>How can I get a collection of elements by specifying their <code>id</code> attribute?  I want to get the name of all the tags which has same <code>id</code> in the html.</p>

<p>I want to use ONLY <code>getElementById()</code> to get an array of elements. How can I do this?</p>
