Baseline Widely available
This feature is well established and works across many devices and browser versions. Itâs been available across browsers since December 2018.
The reportValidity()
method of the HTMLTextAreaElement
interface performs the same validity checking steps as the checkValidity()
method. In addition, if the invalid
event is not canceled, the browser displays the problem to the user.
js
reportValidity()
Parameters
None.
Return valueReturns true
if the element's value has no validity problems; otherwise, returns false
.
HTMLTextAreaElement.checkValidity()
<textarea>
<form>
:valid
and :invalid
pseudo-classesRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4