Tuesday 25 September 2012

Get the value of an adjacent cell with jQuery

   1:   var row = $(this).closest('tr');
   2:   var description = row.find('td:eq(1)').text();
   3:   var code = row.find('td:eq(0)').text();