HTML DOM Input Time value Properties
Definition and Usage
value attribute is used to set the property value or return value time field.
value attribute describes the time value of the time field.
Browser Support
All major browsers support attribute value.
Note: Internet Explorer or Firefox browser does not support type = "time" attribute of the HTML <input> elements.
grammar
Returns the value property:
timeObject .value
Set the value property:
timeObject .value = hh: mm: ss.ms
Property Value
value | description |
---|---|
hh: mm: ss.ms | It describes the time time fields. Resolution:
|
technical details
return value: | String representing the time (no time zone information) time fields. |
---|
More examples
Examples
Get Time time field:
var x = document.getElementById ( "myTime") value.;
x The output is: 16:32:55
try it"
Related Pages
HTML Reference Manual: HTML <the INPUT> value The property
Input Time Object