JQuery Validation Library (Document! X Sample)
jQuery.validator Namespace / methods type / equalTo Method
The selector for the element to compare the current values
In This Topic
    equalTo Method
    In This Topic
    Requires the element to be the same as another one.
    Syntax
    var value; // Type: Boolean
    
    // Parameters
    var other; // Type:  Object
    
    value = jQuery.validator.methods.equalTo(other);
    function equalTo( 
       other : Object
    ) : Boolean;

    Parameters

    other
    The selector for the element to compare the current values
    Browser Compatibility
    8
    5
    5
    See Also