Password.name : Password : Form JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Form » Password »

 

Password.name







The name property gets the HTML NAME attribute of the password box.












<html>
    <head>
    <title> Example of the password name property</title>
    </head>
    <body>
    <form name="form1">
    <input type="PASSWORD" Name="pass" size=10>
    <br>
    <input type="BUTTON" value="Show Formname" onClick=alert(document.form1.pass.name)>
    </form>
    </body>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Form
» Password