Fieldset type eigenschap
Definitie en gebruik
type
De eigenschap retourneert welk type formulierelement het veldsamenstelling is.
Voor het veldsamenstelling, zal deze eigenschap altijd "fieldset" retourneren.
Opmerking:Deze eigenschap is alleen lezen.
Zie ook:
HTML referentiehandleiding:HTML <fieldset> Tag
Example
Return what type of form element the fieldset is:
var x = document.getElementById("myFieldset").type;
Syntax
fieldsetObject.type
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Supported | Not Supported | Supported | Not Supported | Supported |
Technical Details
Return value: | A string value that represents the form element type of the fieldset. |
---|