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