August 1999
Intermediate to advanced
1488 pages
72h 53m
English
password.value
The value property of the Password object is used to get the value entered in the password box.
Listing 7.424 shows an example of how the value property is used.
<html> <head> <title> Example of the password value property</title> </head> <body> <form name="form1"> <input type="PASSWORD" Name="pass" size=10> <br> <input type="BUTTON" value="Get Value" onClick=alert(document.form1.pass.value)> </form> </body> </html> |
Read now
Unlock full access