$.blockUI();
email = $("#txtregistEmail").val();
chaptch = $("#txtregistcaptcha").val();
var result = "";
result = $.ajax({ url: "AllCommand.aspx?cmd=InsertMember&txtregistEmail=" + email + "&txtregistcaptcha=" + chaptch ,
async: false,
complete: function() {
// unblock when remote call returns
$.unblockUI();
}
}).responseText; ;
此代碼運行成功,但不工作blockui()和unblockui()blockui()和unblockUi()在阿賈克斯