Password : HTMLElement
Return to: HTML DOM Level 0 index

Text field on a form where the input is masked by asterisks (*).

Platform Support

IE Mozilla Netscape Opera Chrome Safari
3.0+ 1.0+ 2.0+ 7.0+ 5.0+ 1.0+

Constructors

Constructor Action IE Mozilla Netscape Opera Chrome Safari
Creates a new instance of a Password object.
Show Details 3.0+ 1.0+ 2.0+ 7.0+ 5.0+ 1.0+

Password() : Password

Creates a new instance of a Password object.

Returns
Password

Visibility
internal

Properties

Property Action IE Mozilla Netscape Opera Chrome Safari
value : String
Value of the text entered by the user and sent when the form is submitted.
No Details 3.0+ 1.0+ 2.0+ 7.0+ 5.0+ 1.0+

References

Input|Text|HTMLInputElement

Availability

JavaScript 1.0|enhanced in JavaScript 1.1

text_javascript aptana_docs