JQuery Validation Library (Document! X Sample)
numberOfInvalids Method
jQuery Namespace > validator type : numberOfInvalids Method
Returns the number of invalid fields.
Syntax
var options; // Type:  jQuery.validator.options
var instance; // Type:  jQuery.validator
instance = $(".selector").validate(options);

var value; // Type:  Number
value = instance.numberOfInvalids();
function numberOfInvalids() : Number;
Browser Compatibility
8
5
5
See Also

Reference

validator type
validator Members
validate jQuery Plugin