This is what I ended up with:


$('a.delete').click(function()
{
    var msg = 'Are you sure?';
    if (confirm(msg)) {
        $(this).parents('tr').hide();
    } else {
    return false;
    }

-- 
View this message in context: 
http://www.nabble.com/attaching-hide%28%29-to-delete-confirmation-tp20548833s27240p20590531.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to