var table_rows_cnt = document.getElementById('your_table_id').getElementsByTagName('tbody')[0].getElementsByTagName('tr').length; alert(table_rows_cnt);
Asked In: Many Interviews | Alert Moderator
Login to post response