Password : HTMLElement

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

Browser/User Agent Support

IEMozillaNetscapeOperaSafari
3.0+1.0+2.0+7.0+1.0+

Constructors

ConstructorIEMozillaNetscapeOperaSafari
Creates a new instance of a Password object.
3.0+1.0+2.0+7.0+1.0+
 

Properties

PropertyIEMozillaNetscapeOperaSafari
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

Constructor Detail

Password Password()

Creates a new instance of a Password object.

Visibility
internal

Property Detail

String value

Value of the text entered by the user and sent when the form is submitted.