Javascript Reference
Categories: InputTypeHidden

javascript InputTypeHidden defaultValue

@March 15, 2008, 1:22 a.m.
defaultValueFirefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a  

Read-only  

Returns the string assigned to the value attribute of the element in the source code. You can use this value to reassign the original value to the element if scripts have altered the value property during other processing.

 
Example
 
document.entryForm.sessionID.value = document.entryForm.sessionID.defaultValue;
 
Value

String.

 
Default

None.


Powered by Linode.