An input element on a form that is hidden from a user. Similar to a Text element, except that it is not visible.
Browser/User Agent Support
| IE | Mozilla | Netscape | Opera | Safari | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
|---|
Constructors
| Constructor | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|
Creates a new instance of a Hidden object. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Properties
| Property | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|
The value of the field when the form is submitted. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
References
Document.cookie | Form | HTMLElement | Input | HTMLInputElement | Text
Availability
JavaScript 1.0 | enhanced in JavaScript 1.1
