javascript InputTypeText defaultValue
| defaultValue | NN 2 IE 3 DOM 1 |
| Read-only | |
|
The default text for the text input element, as established by the value attribute. |
|
| Example | |
var txtObj = document.forms[0].myText;
if (txtObj.value != txtObj.defaultValue ) {
...
}
|
|
| Value | |
String value. |
|
| Default | |
None. |
|
Previous: javascript InputTypeText form
1114,Nickname,Homepage or email,Comments here,Add comment
