How to hide table rows which have their checkboxes
<p>I have these table rows that have checkboxes:</p>

<pre><code>@foreach (var item in Model) {
            &lt;tr&gt;
                &lt;td&gt;
                    @Html.DisplayFor(modelItem =&gt; item.InvoiceNumber)
                &lt;/td&gt;
                &lt;td&gt;
                    @Html.DisplayFor(modelItem =&gt; item.InvoiceDate, "{0:D}")
                &lt;/td&gt;
                &lt;td&gt;
                    @Html.DisplayFor(modelItem =&gt; item.Organisation.Name)
                &lt;/td&gt;
                &lt;td&gt;
                    @Html.DisplayFor(modelItem =&gt; item.TotalExcludingGst)
                &lt;/td&gt;
                &lt;td&gt;
                    @Html.DisplayFor(modelItem =&gt; item.Status)
                &lt;/td&gt;
                &lt;td&gt;
                    @Html.DisplayFor(modelItem =&gt; item.ExportedDateTime)
                &lt;/td&gt;
                &lt;td class="centered"&gt;
                    &lt;input type="checkbox" name="ids" value=@item.InvoiceId /&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
        }
</code></pre>

<p>What I'm trying to do is when the user clicks a certain button make those rows dissapear / invisible.</p>

<p>So I wrote some jquery:</p>

<pre><code>$("#btnexport").click(function () {

        $('input:checkbox:checked').each(function (index) {

        });
    });
</code></pre>

<p>So I'm thinking what this will do is on the button click get all the checked checkboxes which is good. I'm hoping to add to it though so that for each of these checkboxes it will find the associated trs and make those bad boys invisible.</p>

<p>Anyone able to help me out on this one?</p>
