how can you get a row by the index?
var rows = $(\'tr\', tbl); rows.index(0).addClass(\'my_class\');
you can do
$('tr:eq(0)', tbl).addClass('my_class');
more on this http://api.jquery.com/eq-selector/