August 1999
Intermediate to advanced
1488 pages
72h 53m
English
Core client-side JavaScript object.
The Password object refers to the HTML element created with the <input> tag setting the type to specify password. It operates similarly to a standard HTML text input box as input is entered into the box. Instead of displaying the input in cleartext, input is displayed using the * symbol. Table 7.38 shows the different methods and properties of the Password object.
| Property/Method | Description |
|---|---|
| blur() | Removes focus from the password box |
| defaultValue | Refers to the VALUEattribute of the HTML password box |
| focus() | Sets focus to the password box |
| form | Refers to the form ... |
Read now
Unlock full access