August 1999
Intermediate to advanced
1488 pages
72h 53m
English
password.select()
The select() method of the Password object is used to select the value entered into the password box. The selected value is highlighted.
Listing 7.422 shows an example of how the password value can be selected.
<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> |
Read now
Unlock full access