Find all table rows with class x and is visible within a fieldset and checkbox them
<p>My apologies for lack of better title..</p>

<p>I am successfully using the following line:</p>

<pre><code>$('.checkall').unbind('click').click(function () {
    $(this).parents('fieldset:eq(0)').find(':checkbox').attr('checked', this.checked);
});
</code></pre>

<p>When .checkall is clicked all table rows within the fieldset will be checked. Now I use a pagination within my table which sets the rows that are not on the frontpage to class 'canView display:none';</p>

<p>How can I filter for every checkbox within the fieldset with the class canView but without the display:none;</p>

<p>i.e.:</p>

<pre><code>$(this).parents('fieldset:eq(0)').find('tr &gt; canView:VISIBLE').find(':checkbox').attr('checked', this.checked);
</code></pre>

<p>But this does not work they way I think it should :)</p>

<p><strong>note</strong>: Every tr has the class canView, only display is changed when paginated.</p>
