例子 代码如下:
$("#Button1").click(function(){ $.post("Default2.aspx","",function(data){ $("#x").text(data); },"text"); }); $("#my").ajaxStart(function(){ $(this).show(); }).ajaxStop(function(){ $(this).hide(); });
}); script>