title: How to get a table cell value using jQuery?
body: <p>I am trying to work out how to get the value of table cell for each row using jQuery.</p>
  
  <p>My table looks like this:</p>
  
  <pre><code>&lt;table id="mytable"&gt;
    &lt;tr&gt;
      &lt;th&gt;Customer Id&lt;/th&gt;
      &lt;th&gt;Result&lt;/th&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;123&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;456&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;789&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I basically want to loop through the table, and get the value of the <code>Customer Id</code> column for each row.</p>
  
  <p>In the code below I have worked out that I need to do this to get it looping through each row, but I'm not sure how to get the value of the first cell in the row.</p>
  
  <pre><code>$('#mytable tr').each(function() {
      var cutomerId = 
  }
  </code></pre>