JQuery Validation Library (Document! X Sample)
In This Topic
    rules jQuery Plugin
    In This Topic
    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