| input (type="password") | NN 2 IE 3 DOM 1 |
|
| |
|
The password object is a form control generated
with an input element that has a
type attribute set to
"password". This object is similar to the text
input object, except that the characters typed into the text box by
the user are converted to asterisk or bullet symbols for privacy.
|
| |
| HTML Equivalent |
| |
<input type="password">
|
| |
| Object Model Reference |
| |
[window.]document.formName.elementName
[window.]document.forms[i].elements[i]
[window.]document.getElementById("elementID")
|
| |
| Object-Specific Properties |
| |
| dataFld | dataSrc | defaultValue | form | maxLength |
| name | readOnly | selectionEnd | selectionStart | size |
| textLength | type | value | | |
|
| |
| Object-Specific Methods |
| |
| createTextRange( ) | handleEvent[ ] | select( ) |
|
| |
| Object-Specific Event Handler Properties |
| |
| Handler | NN | IE | DOM | | onblur | 2 | 3 | 2 |
| onchange | 2 | 3 | 2 |
| onfocus | 2 | 3 | 2 |
| onkeydown | 4 | 4 | n/a |
| onkeypress | 4 | 4 | n/a |
| onkeyup | 4 | 4 | n/a |
| onselect | 2 | 3 | 2 |
|