I use this code to hide all rows in a table that have a td with a class named "hide". This is working fine.

```
$('.table').find('tr:has(td.hide)').hide();

```

Now I am trying to hide all all rows in table if the row has n number of td with the class equal to hide. I was not even able to loop on the tr list of the table with thos code

```
$('.table  > tr').each(function() {
console.log("new tr", $(this).text());
});

```

my html looks as following

```
    <table class='table'>
    <tr class='hidable'><td class='hide'> Some text</td> <td class='hide'> Some text</td></tr>

    <tr class='hidable'><td class='hide'> Some text</td> <td class='nothide'> Some text</td></tr>
</table>

```

in this example i want to hide the row if the two tds have the class hide.