jquery table tr length code example
Example: jquery table each rows with class
// I have a table (#tbLog) and rows (tr) contain class record.
$('#tbLog').find('tr.record').each(function(){
console.log('Row with class',$(this).attr('class'));
});