javascript TEXTAREA defaultValue
| defaultValue | NN 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. |
|
Previous: javascript TEXTAREA focus( )
2079,Nickname,Homepage or email,Comments here,Add comment
