JavaScript » Text » type

Syntax:
object.type

Every element on a form has an associated type property. In the case of a Text object, the value of this property is always "text".