YouTip LogoYouTip

Prop Week Type

# Input Week type property [![Image 8: Input Week Object Reference Manual](#) Input Week Object](#) ## Example Return the form element type of the week field: var x = document.getElementById("myWeek").type; The output value of _x_ is: week [Try it yourself Β»](#) * * * ## Definition and Usage The type property returns the form type of the week field. **Note:** In the example above, Opera, Chrome, and Safari browsers return "week", but Internet Explorer and Firefox browsers return "text". * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) The type property is supported in all major browsers. **Note:** Internet Explorer or Firefox browsers do not support the element. * * * ## Syntax _weekObject_.type ## Technical Details | Return Value: | A string representing the form element type of the week field | | --- | * * Input Week Object](#)
← Prop Week ValueProp Week Type β†’