Hidden type property
Hidden Object
Definition and Usage
The type attribute returns the type of the form element.
For a hidden object, this property is always "hidden".
Syntax
hiddenObject.type
Browser support





All major browsers support the type property.
Example
Example
The following example returns the form element type of the hidden field:
Try it »
Hidden Object