How can you get the first row in a table with a specific className?
var rows = $(\'tr\', tbl);
You can use the :first selector along with the class selector,
Try this:
var rows = $('tr.someclass:first', tbl);