elamgo sasi

elamgo sasi

  • NA
  • 15
  • 19.9k

__doPostBack

Aug 20 2015 7:29 AM
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

Answers (2)