showErrors:
function
(errorMap, errorList) {
this
.defaultShowErrors();
for
(
var
i = 0; i < errorList.length; i++) {
$(errorList[i].element).one(
"blur"
,
function
() {
$(
"label.error[for='"
+ (
this
.id ?
this
.id :
this
.name) +
"']"
).remove();
});
}
}
错误信息在失去焦点后自动消失