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,
: Object
) : any;
Parameters
- command
- argument
Browser Compatibility
See Also