An input element on a form that is hidden from a user. Similar to a Text element, except that it is not visible.
Platform Support
| IE | Mozilla | Netscape | Opera | Chrome | Safari | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 5.0+ | 1.0+ |
|---|
Constructors
| Constructor | Action | IE | Mozilla | Netscape | Opera | Chrome | Safari | ||
|---|---|---|---|---|---|---|---|---|---|
|
Hidden Constructor() : Hidden
Creates a new instance of a Hidden object.
|
Show Details | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 5.0+ | 1.0+ | ||
Hidden() : HiddenCreates a new instance of a Hidden object. Returns
|
|||||||||
Properties
| Property | Action | IE | Mozilla | Netscape | Opera | Chrome | Safari |
|---|---|---|---|---|---|---|---|
|
The value of the field when the form is submitted.
|
No Details | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 5.0+ | 1.0+ |
|
|
|||||||
References
Document.cookie|Form|HTMLElement|Input|HTMLInputElement|Text
Availability
JavaScript 1.0|enhanced in JavaScript 1.1