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