Javascript Reference
Categories: InputTypeHidden

javascript InputTypeHidden Description

@March 15, 2008, 1:22 a.m.
input (type="hidden")Firefox/Netscape/NN 3 IE 4 Chrome/Safari/DOM 1  

  

The hidden object is a form control generated with an input element that has its type attribute is set to "hidden". This element has no event handlers, because users do not interact directly with the element. Be aware that any values assigned to a hidden object are removed if the user reloads the page. In other words, it does not function as a persistent store. Internet Explorer for Windows and Netscape 6 expose many more properties than are listed below. Most of these are included in the internal object definition for consistency across other text-oriented form controls, but have no practical significance for a hidden object.

 
HTML Equivalent
 
<input type="hidden">
 
Object Model Reference
 
[window.]document.formName.elementName
[window.]document.forms[i].elements[i]
[window.]document.getElementById("elementID")
 
Object-Specific Properties
 
dataFlddataSrcdefaultValueformnametypevalue
 
Object-Specific Methods
 
createTextRange( )
 
Object-Specific Event Handler Properties

None.


Powered by Linode.