javascript InputTypeHidden defaultValue

defaultValueNN 2 IE 3 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.


1047,Nickname,Homepage or email,Comments here,Add comment