日期:2014-05-16 浏览次数:20824 次
function checkExist(source, args) {
$("#ajaxPic").show();
var flag = false;
$.ajax({
type: "get",
async: false,
beforeSend: function () {
$("#ajaxPic").show();
},
url: "ExistCheck.ashx",
data: { type: "ddd", code: "879", t: (new Date()).getTime() },
success: function (msg) {
if (msg == "0") {
flag = true;
}
}
});
$("#ajaxPic").hide();
args.IsValid = flag;
}