i have a link that calls into a javascript to give a confirmation:
$("a.delete").click(function() {
var name = $(this).parent().prev('td').prev('td').text();
jConfirm('Are you sure you want to delete the following member:' + name, 'Member Delete', function(r) {
});
});
i want, if the user clicks yes to call a controller action similar to what this code does:
<%= Html.ActionLink("Delete", "Delete", new { id = item.Mail_ID })%>
how can i get the functionality of the jquery confirmation popup but still get the same results after that i would with the actionlink.