When using asynchronous mail messages, it is useful to understand the events that you can actually process on the client side (aspx file).
(jquery, javascript) , , pageLoaded . , javascript :
function pageLoad(sender, args) {
$(".saved").fadeIn(500).fadeOut(500);
}
this MSDN .
,
,
pageLoad , , this MSDN, Animating Panels, - :
var postbackElement;
function beginRequest(sender, args) {
postbackElement = args.get_postBackElement();
}
function pageLoaded(sender, args) {
if (typeof(postbackElement) === "undefined") {
return;
}
else if (postbackElement.id.toLowerCase().indexOf('btnsave') > -1) {
$(".saved").fadeIn(500).fadeOut(500);
}
}