Mega Code Archive

 
Categories / JavaScript DHTML / Form Control
 

Methods and Properties of the Password Object

Method blur()            Removes focus from the password box. focus()           Sets focus to the password box. handleEvent()     Invokes the default handler for the specified event. select()          Selects the text entered in the password box. Property defaultValue      Refers to the value attribute of the HTML password box. form              Refers to the form that contains the password box. name              Refers to the name attribute of the HTML password box. type              Refers to the type attribute of the HTML password box. value             Refers to the current contents of the password box.