Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Hidden type property

Hidden type property

Hidden Object Reference 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

Internet ExplorerFirefoxOperaGoogle ChromeSafari

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 Reference Hidden Object