title: Javascript - get all table -> tr > id values
body: <p>I would like to access all the values of a table tr id field.</p>
  
  <pre><code>&lt;table&gt;
  &lt;tr id="1"&gt;&lt;/tr&gt;
  &lt;tr id="2"&gt;&lt;/tr&gt;
  &lt;tr id="3"&gt;&lt;/tr&gt;
  &lt;tr id="4"&gt;&lt;/tr&gt;
  &lt;tr id="5"&gt;&lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>What I would like to do is, using a javascript function, get an array and have acess to </p>
  
  <pre><code>[1,2,3,4,5]
  </code></pre>
  
  <p>Thank you very much!</p>