element Method
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
See Also