validity
Property of dom/HTMLObjectElementdom/HTMLObjectElement
Syntax
var result = element.validity;
element.validity = value;
Notes
Remarks
The following example displays all attributes in the ValidityState object. Note For more code samples, see Form controls part 1 and Form controls part 2: validation on the Windows Internet Explorer sample site.
Syntax
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.21.3
See also
Related pages
- HTMLObjectElementHTMLObjectElement
- HTMLTextAreaElementHTMLTextAreaElement
- HTMLSelectElementHTMLSelectElement
- HTMLInputElementHTMLInputElement
- HTMLButtonElementHTMLButtonElement
- HTMLFieldSetElementHTMLFieldSetElement
- ValidityStateValidityState
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]