jQuery.validator.addMethod("name",function,message)
其中:1, name为验证规则的名称2, function定义验证的规则。3, message是验证失败时的提示信息。