title: Javascript get entire 2nd column
body: <p>I have searched for a solution to this issue everywhere but nothing has worked. I have successfully pulled the first column but I am unable to pull the 2nd column. The following code pulls the entire 1st column successfully. </p>
  
  <p>I changed <code>.cells</code> to <code>[1]</code> and it pulls nothing. I have tried <code>:nth-child(1)</code> but that doesn't work either. I feel I am missing something very trivial. Any help is very much appreciated.</p>
  
  <pre><code>function F0416()
  {
      var tab = document.getElementById('partTable');
      var l = tab.rows.length;
  
      var s = '';
      for ( var i = 0; i &lt; l; i++ )
      {
          var tr = tab.rows[i];
  
          var cll = tr.cells[0];
  
          s += ' ' + cll.innerText;
      }
      document.write(s);
  }
  </code></pre>