title: How to get value of first column in current row in html table using jQuery
body: <p>I have the following Delete confirmation code using jquery.  The issue is that it assume the location of the name column.  I now have name in the first row.  Instead of using <code>.prev('td')</code>, is there anyway to get the value from the first column in the current row using jQuery?</p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
      $(document).ready(function() {
          $("a.delete").click(function(e) {
              e.preventDefault();
              var url = $(this).attr("href");
  
              var name = $(this).parent().prev('td').prev('td').text();
  
              jConfirm('Are you sure you want to delete this:' + name, 'Application Delete', function(r) {
                  if (r) {
                      window.location = url;
                  }
              });
          });
      });
  &lt;/script&gt;
  </code></pre>