jQuery: select the last cell in a row (or the n-th cell)
July 07, 2010 16:24:30 Last update: July 07, 2010 16:24:30
Select the last cell in a row for all rows:
Select the 3rd cell in a row for all rows:
$('td:last', '#sessionsTable tr').each(function() { alert(this.innerHTML); })
Select the 3rd cell in a row for all rows:
$('td:eq(3)', '#sessionsTable tr').each(function() { alert(this.innerHTML); })