Mega Code Archive
Categories
/
JavaScript Tutorial
/
Form
Password type
The type property gets the HTML TYPE attribute associated with the password box. For the Password object, this value is always password.
Example of the password type property