Input Number type property
Returns the type of form element in the number field:
x The output is:
Try it out . . .
Definitions and usages
The type property returns the type of form type in the number field.
In input number, the property usually returns "number".
Browser support
The type property is supported by all major browsers
Note: Internet Explorer 9 and earlier versions of IE do not support the use of the type-"number" property for the element of the .lt;input>
Grammar
Technical details
Return value: | A string that represents the type of form element in the number field |
---|
Input Number object