Password select() method
Password Object
Definition and Usage
The select() method is used to select the text in a password field
Syntax
passwordObject.select()
Browser support





All major browsers support the select() method
Example
Example
The example below selects the text in a password field:
Try it »
Password Object