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