JavaScript » Password » type

Syntax:
object.type

This property reflects the type of any particular object on a form, and in the case of the Password object is always "password".