title: call the id in javascript
body: <p>I have a span like this  </p>
  
  <pre><code>&lt;span id="selectedTests" class="emrFG"&gt;  
    &lt;span id="lblSelectedTests" class="emrHDR" style="top:3;left:6;font-size:8pt;"&gt;Selections&lt;/span&gt;  
    &lt;span class="emrHDR" style="top:3;left:190;font-size:8pt;"&gt;Tests&lt;/span&gt;  
    &lt;div id="recordSet" style="top:19;height:112;width:444;"&gt;&lt;/div&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>The span shows some rows of data and I want to call those rows individually by using  <code>document.all</code> method.<br>
  How would I do that?  </p>