You can see this
function Remove(ctrl) {
if (confirm('Pressing OK will delete this record. Do you want to continue?') == false) {
return false;
}
var row = $(ctrl).parent().parent().parent().children().index($(ctrl).parent().parent());
// alert(row);
$("#refRowIndex").val(row);
var form = $("#frmStudentDetails");
var serializedForm = form.serialize();
var url = "/Student/RemoveStudentDetails";
$.post(url, serializedForm, function (result) {
$("#divStudentDetails").html(result);
}, "html");
return false;
}
Comments
Post a Comment