Hidden.value (Property)

The value of a hidden field in a form.

Availability:

DOM level - 1
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Opera browser - 3.0
Property/method value type:String primitive
JavaScript syntax:-myHidden.value

The value of a hidden form is probably its main purpose for existence. The idea is that you can pass values into a form by means of hidden fields and when the form is submitted, those values are passed back to the server with the form data that the user has entered. It is often used as a means of maintaining state across a user session.

See also:Input.value