skip to contentstylized crane logoWhite Crane Education

Password Objects

The password type represents an HTML input object whose type attribute equals "password":  


onblur onclick ondblclick onfocus
onkeydown onkeypress onkeyup onmousedown
onmouseenter onmouseleave onmousemove onmouseout
onmouseover onmouseup onselect


defaultValue returns/sets the control's default value
form returns a reference to the form to which the control belongs
name returns/sets the value of the checkbox's name attribute
type returns the value of the checkbox's type attribute
value returns/sets the value of the checkbox's value attribute


blur() takes the focus away from the checkbox
focus() moves the focus to the checkbox
select() causes the object's text to be selected