YouTip LogoYouTip

Prop Week Form

# Input Week form Property [![Image 8: Input Week Object Reference Manual](#) Input Week Object](#) ## Example Returns the id of the form containing the element: ```javascript var x = document.getElementById("myWeek").form.id; The output of _x_ is: myForm [Try it Β»](#) * * * ## Definition and Usage The form property returns a reference to the form that contains the week field. On success, 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 by all major browsers. **Note:** Internet Explorer and Firefox do not support the element. * * * ## Syntax _weekObject_.form ## Technical Details | Return Value: | A reference to the form element containing the week field. Returns null if the week field is not in a form. | | --- | * * Input Week Object](#)
← Prop Week FormProp Week Disabled β†’