YouTip LogoYouTip

Prop Fieldset Form

# Fieldset form Property [![Image 8: Fieldset Object Reference Manual](#) Fieldset Object](#) ## Example Return the id of the form containing the
element: var x = document.getElementById("myFieldset").form.id; The _x_ output will be: myForm [Try it Yourself Β»](#) * * * ## Definition and Usage The form property returns a reference to the form that contains the fieldset. If successful, this property returns a Form object. **Note:** This property is read-only. * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) The form property is supported in all major browsers. * * * ## Syntax _fieldsetObject_.form ## Technical Details | Return Value: | A reference to the form that contains the fieldset. Returns null if the fieldset is not inside a form. | | --- | * * Fieldset Object](#)
← Prop Fieldset NameProp Fieldset Disabled β†’