how can you get a row by the index?
var rows = $(\'tr\', tbl); rows.index(0).addClass(\'my_class\');
Using either the eq() function:
rows.eq(0).addClass('my_class');
Or the :eq() selector:
$('tr:eq(0)', tbl).addClass('my_class');