HTML DOM
The willValidate read-only property of the HTMLTextAreaElement interface indicates whether the textarea element is a candidate for constraint validation. It is false if any conditions bar it from constraint validation, such as when its HTMLTextAreaElement.disabled or HTMLTextAreaElement.readOnly property is true.
Value
A boolean value.
Specifications
Browser compatibility
See also
- HTMLTextAreaElement.checkValidity()
- textarea
- form
- Learn: Client-side form validation
- Guide: Constraint validation
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
