JQuery Validation Library (Document! X Sample)
rules jQuery Plugin
Return the validations rules for the first selected element.
Syntax
var instance; // Type:  any

// Parameters
var command; // Type:  String
var argument; // Type:  Object

instance = $(".selector").rules(command, argument);
function rules( 
   command : String,
   argument : Object
) : any;

Parameters

command
argument
Browser Compatibility
8
5
5
See Also

Reference

rules jQuery Plugin