HTMLObjectElement.checkValidity

The checkValidity() method of the HTMLObjectElement interface returns a Boolean that always is true, because object objects are never candidates for constraint validation.

Syntax

const valid = HTMLObjectElement.checkValidity();

Parameters

None.

Return value

true

Exceptions

None.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'checkValidity' in that specification.
Living Standard Initial definition.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
checkValidityChrome Full support 46Edge Full support 12Firefox Full support 1IE Full support YesOpera Full support YesSafari Full support 6WebView Android Full support 46Chrome Android Full support 46Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support 5.0

Legend

Full support
Full support