hidden

The hidden object reflects the funcitonality of an Html INPUT form control whose TYPE has been set to 'hidden'. Users do not interact directly with this object, since it is used instead for loading a value to the server which can be used as an identifier of a sort, the data being unique to that page. It should be noted that the values assigned to the hidden object via scripted actions are reset if the user reloads the page or if the script reloads the page. Note the absence of collections and event handlers for this object.

DOM Reference

Internet Explorer

window.document.formName.elementName
window.document.forms[n].elements[n]
window.document.all.elementID

Netscape Navigator

window.document.formName.elementName
window.document.forms[n].elements[n]

The properties of the hidden object are:

className
dataFld
dataSrc
disabled
document
form
id
isTextEdit
language name
parentElement
parentTextEdit
sourceIndex
style
tagName
title
type
value

The Methods of the hidden object are:

contains()
getAttribute()
removeAttribute()
setAttribute()