[jquery.validation][1.11.1] invalidElements and validElements methods

This commit is contained in:
Maks3w
2014-11-09 12:09:26 +01:00
parent cd280100a8
commit e07da8a6fa
2 changed files with 4 additions and 0 deletions

View File

@@ -227,4 +227,6 @@ function test_methods() {
maxlength: 5
}
});
var invalidElements: HTMLElement[] = validator.invalidElements();
var validElements: HTMLElement[] = validator.validElements();
}

View File

@@ -197,6 +197,7 @@ interface Validator
* @param template The string to format.
*/
format(template: string, ...arguments: string[]): string;
invalidElements(): HTMLElement[];
/**
* Returns the number of invalid fields.
*/
@@ -220,6 +221,7 @@ interface Validator
showErrors(errors: any): void;
hideErrors(): void;
valid(): boolean;
validElements(): HTMLElement[];
size(): number;
errorMap: ErrorDictionary;