JSFiddle - React, Tailwind, and code Playground
HTML
<table class="mytable">
<tr class='abc'>
<td> i am from bd </td>
<td> i am from bd </td>
<td> i am from bd </td>
</tr>
</table>
JavaScript
$(function () {
var rc = $('.mytable tr').length;
alert(rc)
});