jQuery validator 主页 github地址 demo学习 效果: Validate forms like you've never validated before! 自定义Validate: doesn't jQuery make it easy to write your own validation plugin? Sure, but there are still a lot of subtleties to take care of: You need a standar…
1.add method jQuery.validator.addMethod( "multiemail", function (value, element) { var email = value.split(/[;,]+/); // split element by , and ; valid = true; for (var i in email) { value = email[i]; valid = valid && jQuery.validator.met…