jquery validate自定义验证规则

6-29 2,070 views

jQuery.validator.addMethod("check_user", function(value, element) { var check = /^[A-Za-z\s]+$/; //this.optional(element)如果元素...
阅读全文 0