Password.type (Property)

The type value for the <INPUT> object that describes the password text entry field in a form.


DOM level - 1
JavaScript - 1.1
JScript - 3.0
Internet Explorer - 4.0
Netscape - 3.0
Opera - 3.0
Property/method value type:String primitive
JavaScript syntax:-myPassword.type

The type value for a password input text cell is always "password". This value is necessary to determine the type of form element because this object is really an instance of the Input class and not the Password class. There is actually no Password class.

See also:Input.type

Property attributes: