Password.onFocus : Password : Form JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Form » Password »

 

Password.onFocus







The onFocus event handler handles the Focus event for the password box.












<html>
    <head>
    <title> Example of the password onFocus event handler</title>
    </head>
    <body>
    <script language="JavaScript">
    <!--
    function set(){
         alert("123");

    }
    -->
    </script>
    <form name="form1">
    <input type="PASSWORD" Name="pass" size=10 onFocus=set()>
    <br>
    <input type="BUTTON" value="Show Formname" >
    </form>
    </body>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Form
» Password