Hi, I have jQuery plugin - progress bar. How to invoke server side method on success? The code is below:
(Everything works fine)
$("#<%=this.btnGetData.ClientID%>").click(
function () {
intervalID = setInterval(updateProgress, 100);
$.ajax({
type: "POST",
url: "ProgressBar.aspx/ExecuteImport",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
async: true,
success: function (msg)
{
//HERE should be invoke
}
});
return false;
}
);