Hi ...

Supposed I have table like this

    id    name    address        action
    --------------------------------------
    s1    n1    a1        delete
    s2    n2    a2        delete

delete is a link for example `<a href="http://localhost/student/delete/1";>`.
In the real case I delete the student
using ajax. In order to simplify the code, I just alert the link

    $(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();
       });
    );


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


-- 
Adi Gunanta Sembiring
Blog: http://adisembiring.wordpress.com
YM: adisembir...@yahoo.com
GTalk: adi.sembir...@gmail.com
e-mail: sembiring....@gmail.com
Facebook: sembiring....@gmail.com
HP: +62 852 6892 4259

Reply via email to