日期:2014-05-17 浏览次数:20798 次
if (nameold != option.value) {
nameold = option.value;
option.errorEle.html("<span style='color:#999'>检验中……</span>");
$.getJSON("AjaxService.aspx?uid=" + escape(option.value) + "", function (date) {
if (date.success == 0) {
validateSettings.succeed.run(option);
namestate = true;
} else {
validateSettings.error.run(option, option.prompts.error.beUsed.replace("{1}", option.value));
namestate = false;
}
})
}
else {
validateSettings.error.run(option, option.prompts.error.beUsed.replace("{1}", option.value));
namestate = false;
}
public partial class AjaxService : System.Web