Methods and Properties of the Password Object : Password : Form Control : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP


JavaScript DHTML  »  Form Control   » [  Password  ]   
 



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.
           
       
Related examples in the same category
1.  Password field size
2.  Get text input max Length
3.  Password Protecting a Page
























Home| Contact Us
Copyright 2003 - 07 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.