The select() method selects the value entered into the password box.
The selected value is highlighted.
<html> <head> <title> Example of the password select method</title> </head> <body> <form name="form1"> <input type="PASSWORD" Name="pass" size=10> <br> <input type="BUTTON" value="Select Password" ?onClick=document.form1.pass.select()> </form> </body> </html>