javascript TEXTAREA defaultValue

defaultValueNN 2 IE 3 DOM 1  

Read-only  

Specifies the default text for the textarea element, as established by the text between the start and end tags in the page's source code.

 
Example
 
var txtAObj = document.forms[0].myTextArea;
if (txtAObj.value != txtAObj.defaultValue ) {
    ...
}
 
Value

Any string value.

 
Default

None.


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