javascript InputTypePassword defaultValue
@March 15, 2008, 1:22 a.m.
defaultValue | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1 |
Read-only | |
Indicates the default text for the password input element, as established by the value attribute. |
|
Example | |
var pwObj = document.forms[0].myPassword; if (pwObj.value != pwObj.defaultValue ) { // process user-entered password } |
|
Value | |
String value. |
|
Default | |
None. |
Powered by Linode.