Hi,
How to use __doPostBack in JQuery?
my code:
function SaveConfirmBox(btn, validationgroupname, type) {
alert("test");
var validated = false;
if (validationgroupname != '') {
validated = Page_ClientValidate(validationgroupname);
}
else {
validated = true;
}
if (validated) {
jConfirm('Do you want to ' + type + ' this record ?', "Confirmation", function (r) {
if (r == true) {
alert("1");
__doPostBack($(btn).attr("name"), '');
}
});
}
else {
showNotificationValidationSummary("Please check some inputs are missing !");
if (validationgroupname != "") {
__doPostBack('', '');
}
}
return false;
}
Please assist