摘要:
重新改写jquery.validate.unobtrusive.js$.validator.setDefaults({ //光标移出时 onfocusout: function (element) { this.element(element); }, //光标移入时 onfocusin: function (element, event) { //找到显示错误提示的标签并移除,针对jquery.validate.unobtrusive var errorElement = $(element).next('span.field-validation-error'); if ( 阅读全文
posted @ 2014-01-26 19:43 哥德巴赫猜 阅读(302) 评论(0) 推荐(0) 编辑