JSFiddle - React, Tailwind, and code Playground

by pmatseykanets

HTML

<table >
  <tbody >
         <tr class="hide_grid_header"></tr>
         <tr style="display: none;"></tr>
         <tr style="display: none;"></tr>
          <tr ></tr>
         <tr style=""></tr>
         <tr ></tr>
         <tr style=""></tr>
         <tr ></tr>
       <tr style="display: none;"></tr>
  </tbody>
</table>

JavaScript

$(function(){
    var n = $("tr:not([style])").length;
    alert(n+1);
});