HTML DOM Input Week type property
Examples
Returns the week field form element type:
var x = document.getElementById ( "myWeek") type.;
x output values:
week
try it"
Definition and Usage
type property returns the type of week Form Type field.
Note: In the above example, Opera, Chrome and Safari Back "week", but Internet Explorer and Firefox browser returns "text".
Browser Support
All major browsers support attribute type
Note: Internet Explorer or Firefox browser does not support <input type = "week"> element.
grammar
weekObject .type
technical details
return value: | String representing the type of the field form element week |
---|
Input Week Objects