title: Searching a table row for specific text in a COLUMN with jQuery
body: <p>I found  <a href="https://stackoverflow.com/questions/6135665/jquery-find-table-row-containing-table-cell-containing-specific-text">this question on StackOverflow</a> that has a very nice answer, but being a beginner, I want a more detailed explanation, because my situation is a bit different: I have a table like the one below:</p>
  
  <pre><code> ________________________________________________
   | id |     name     | age |      location      |
   |----+--------------+-----+--------------------|
   |  1 | Victor       | 14  | Bucharest, Romania |
   |  2 | John         | 17  | New York, USA      |
   |  3 | Steve        | 12  | New York, USA      |
   |  7 | Michael      | 37  | Washington DC, USA |
   |  9 | Michaela     | 25  | Washington DC, USA |
   |----+--------------+-----+--------------------|
  </code></pre>
  
  <p>The id of the person is in my database (MySQL database) set to <code>AUTO_INCREMENT</code>, so if I delete a record, it will be like the last one in my table here (from 7 to 9). I want to search the row that has the <code>personId = 3</code> in my HTML table.</p>
  
  <p>So, based on <a href="https://stackoverflow.com/questions/6135665/jquery-find-table-row-containing-table-cell-containing-specific-text">the question in my link</a>, how can I refine that search to be only in the ID column? </p>
  
  <p>Edit for @yeyene:</p>
  
  <p>This is the function based on your code. Actually, I don't need to change the background color of the row, I need the row's index for using it later with <code>.eq(index)</code> to make some operations on it:</p>
  
  <pre><code>function findTableRow(personId){
      $('#people tr').each(function(){
          if($(this).find('td').eq(0).text() == personId){
              return (row's index?)
          }
      }); 
  }
  </code></pre>