hide tr

HTML

<table>
    <thead>
        <th>1</th>
        <th>2</th>
    </thead>
    <tbody>
        <tr>some text</tr>
        <tr>some other text</tr>
    </tbody>
</table>
<div>click</div>

JavaScript

$(document).ready(function(){
    $('div').on("click",function(){
        alert("starting..");
        $('tr').hide('fast', function(){ $('tr').remove(); });
    });
});