jquery function to count number of rows in a table code example
Example: table row count in jquery
// Table Row count in jquery
var rowCount = $('#myTable tr').length;
// Table Row count in jquery
var rowCount = $('#myTable tr').length;