title: How to get first td text from a tr by jquery
body: <p>I want to get a text of cell in a tr row.
  The tr row has class attr and a data- attr.
  I select the tr row as</p>
  
  <pre><code>var k = $('tr[class="BatchTypesRow"][data-rowselected="true"]');
  </code></pre>
  
  <p>then </p>
  
  <pre><code>var m = k.children("td:first");    
  var sBtype = m.text();    
  alert(sBtype);    
  </code></pre>
  
  <p>the sBtype contains all cells' text in the row.
  I tried </p>
  
  <pre><code>var sBtype = m[0].text();    
  </code></pre>
  
  <p>that catches an exception.</p>
  
  <p>So what is the problem here?
  If the cell is not the first cell in the row, how to do it?</p>