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