Delete row table using jQuery
<p>Suppose I have a table like this</p>

<pre><code>id  name    address     action
--------------------------------------
s1  n1  a1      delete
s2  n2  a2      delete
</code></pre>

<p>Delete is a link for example <code>&lt;a href="http://localhost/student/delete/1"&gt;</code>. In the real case I delete the student using ajax. In order to simplify the code, I just alert the link and omit the ajax script. I just wanna know How to delete row from the html document using jquery.</p>

<pre><code>$(document).ready(function() {
$("a").click(function(event) {
    alert("As you can see, the link no longer took you to jquery.com");
        var href = $(this).attr('href');
        alert(href);
        event.preventDefault();
   });
);
</code></pre>

<p>I want, After I alert the link the selected row will be remove automatically. Is there any suggestion how to implement this one ?</p>
