addClassRules Method
Add a compound class method - useful to refactor common combinations of rules into a single class.
Syntax
// Parameters var className; // Type: String var rules; // Type: Object jQuery.validator.addClassRules(className, rules);
Parameters
- className
- The name of the class rules to add
- rules
- The compound rules
Browser Compatibility
See Also