JQuery Validation Library (Document! X Sample)
The selector for the element to compare the current values
equalTo Method
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