jQuery: check length for tr's inside
<p>I have this I need to rewrite:</p>

<pre><code>if( $('tr.notification:visible').length == 0 ) {  
</code></pre>

<p>So it checks if the length is == 0 of the table it is inside. I do not want to specify the table´s id, as I want this to work on all the tables.</p>

<p>$(this) is class .removeAction that is inside the table, and inside a tr.</p>

<p>I used .notification because all the tr´s in the table had the class notification. But I have more tables, with tr´s that has the class .notification, so this cannot be used, otherwise it would work fine.</p>

<p>So the table, the .removeAction is inside, is the length==0, then alert('yes')</p>

<p>How can I do that?</p>
