JSFiddle - React, Tailwind, and code Playground

HTML

<table style="width: 100%;">
    <tbody>
    </tbody>
</table>

JavaScript

$(function(){
    alert('Visible tables: ' + $('table:visible').size() + ' pcs');
});