jQuery Remove table row on $.ajax success
<p>I need to remove a table row after a successful ajax call, not sure how to do it. Here is my code:</p>

<pre><code>function closelead(rowid){
            var rowid1 = rowid;
            alert(rowid1);
            var parent = $(this).parent();
            $.ajax({
                type: "POST",
                url: "ajax/close.php",
                data: "rowid="+ rowid1,

                success: function(html){


                }
            });

            }
</code></pre>

<p></p>

<pre><code>&lt;tr&gt;&lt;td&gt;&lt;input type="button" onclick="closelead(&lt;?php echo $leadlist['ID'];?&gt;)" value="Close" class="searchbutton" /&gt;&lt;/td&gt;&lt;/tr&gt;
</code></pre>
