Baseline Widely available
HTML Field Set ElementDOM fieldset
elements expose the HTMLFieldSetElement (HTMLFieldSetElement) interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of field-set elements.
屿§ç»§æ¿èªå
¶ç¶çº§ HTMLElement
ã
disabled
Boolean
读å HTML 屿§ disabled
,表æç¨æ·æ¯å¦å¯ä»¥æä½è¯¥æ§ä»¶ã elements
readonly HTMLFormControlsCollection
The elements belonging to this field set. form
åªè¯» An HTMLFormControlsCollection
or HTMLCollection
referencing the containing form element, if this element is in a form. If the field set is not a descendant of a form element, then the attribute can be the ID of any form element in the same document it is related to, or the null
value if none matches. name
DOMString
Reflects the name
HTML attribute, containing the name of the field set, used for submitting the form. type
readonly DOMString
ä¸å®ä¸ºå符串fieldset
. validationMessage
readonly DOMString
A localized message that describes the validation constraints that the element does not satisfy (if any). This is the empty string if the element is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints. validity
readonly ValidityState
The validity states that this element is in. willValidate
boolean
Always false because fieldset
objects are never candidates for constraint validation. æ¹æ³ åç§° & åæ° è¿åå¼ æè¿° checkValidity
() Boolean
妿å
ç´ ç弿²¡ææææ§é®é¢ï¼åè¿å true
ï¼å¦åè¿å false
并触å invalid
äºä»¶ã setCustomValidity(in
DOMString error)
void
设置ä¸ä¸ªèªå®ä¹é误ï¼å该å
ç´ å°æ æ³éè¿æææ§éªè¯ãåæ°æå®çå符串就æ¯å¨åç¨æ·æ¥åéè¯¯æ¶æ¾ç¤ºçæ¶æ¯ãå¦æä¸ºç©ºå符串ï¼åæ¸
é¤è¿ä¸ªèªå®ä¹é误ã
RetroSearch 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