Get Number Of Rows In A Table Using jQuery
Here we consider how to get the number of rows in a table using jQuery.
Lets start with one example here.
Suppose we have a table as shown here.

This table contains four rows of records.
Now lets consider how to get the number of rows using jQuery.
var Count = $('#tblID tr').length;
Here we first find the table with rows and will take the length of these rows.
var Count = $('#tblID tr').size();
size() also gives the same result, but most preffered is length over size().
By this way we can get the number of rows in a table using jQuery.