$(document).ready(function () {
$.ajaxSetup({ cache: false });
$("#b01").click(function () {$.ajax({ url: "JsEvent.aspx?Name=" + encodeURI("测试"), datatype: "html",
beforeSend: function () {
$("#Div1").html("正在查询....");
},
success: function (msg) {
$("#myDiv").html("<h1>"+msg+"</h1>");
},
complete: function () {
$("#Div1").html("查询已完成....");
},
error: function () {
$("#Div1").html("处理有误");
}
});
});
});

3993

被折叠的 条评论
为什么被折叠?



