JQuery Validation
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 = jQuery(".selector").validate(options);

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

Reference

validator type
validate jQuery Plugin

 

 


© 2013 All Rights Reserved.

Send comments on this topic.