JQuery Validation Library (Document! X Sample)
jQuery Namespace / validator type / element Method
An element to validate, must be inside the validated form.
In This Topic
    element Method
    In This Topic
    Validates a single element, returns true if it is valid, false otherwise.
    Syntax
    var options; // Type:  jQuery.validator.options
    var instance; // Type:  jQuery.validator
    instance = $(".selector").validate(options);
    
    // Parameters
    var element; // Type:  String
    
    var value; // Type:  Boolean
    value = instance.element(element);
    function element( 
       element : String
    ) : Boolean;

    Parameters

    element
    An element to validate, must be inside the validated form.
    Browser Compatibility
    8
    5
    5
    See Also