Javascript Reference
Categories: InputTypePassword

javascript InputTypePassword Description

@March 15, 2008, 1:22 a.m.
input (type="password")Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1  

  

The password object is a form control generated with an input element that has a type attribute set to "password". This object is similar to the text input object, except that the characters typed into the text box by the user are converted to asterisk or bullet symbols for privacy.

 
HTML Equivalent
 
<input type="password">
 
Object Model Reference
 
[window.]document.formName.elementName
[window.]document.forms[i].elements[i]
[window.]document.getElementById("elementID")
 
Object-Specific Properties
 
dataFlddataSrcdefaultValueformmaxLength
namereadOnlyselectionEndselectionStartsize
textLengthtypevalue
 
Object-Specific Methods
 
createTextRange( )handleEvent[ ]select( )
 
Object-Specific Event Handler Properties
 
HandlerFirefox/Netscape/NNIEChrome/Safari/DOM
onblur232
onchange232
onfocus232
onkeydown44n/a
onkeypress44n/a
onkeyup44n/a
onselect232
Under moderation.
ascend7mvwne - 2016-05-11
Under moderation.
ascendakuw20 - 2016-05-01

Powered by Linode.