Text field on a form where the input is masked by asterisks (*).
Browser/User Agent Support
| IE | Mozilla | Netscape | Opera | Safari | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
|---|
Constructors
| Constructor | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|
Creates a new instance of a Password object. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Properties
| Property | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|
Value of the text entered by the user and sent when the form is submitted. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
References
Input | Text | HTMLInputElement
Availability
JavaScript 1.0 | enhanced in JavaScript 1.1
