Is there any way to know when a web server response is sent to the client, in a traditional postback, so that I can execute a jQuery function?
For example, to put a div
with a message or a simple alert saying "Succeed" without using the
Page.RegisterStartUpScript("<script type="text/javasctip">alert('Succeed')</script>);
nor
var request = $.ajax({
url: "page/someWebMethod",
type: "POST",
data: {id : menuId},
dataType: "html"
});
request.done(function(msg) {
$('DivOk').show();
});