135345-1.html 382 B

123456789101112131415
  1. <html>
  2. <body>
  3. <form name="frmlogin">
  4. <input type="text" name="username"
  5. onfocus="frmlogin.username.select();"
  6. onblur="frmlogin.password.focus();">
  7. <input type="password" name="password"
  8. onfocus="frmlogin.password.select();">
  9. </form>
  10. <script language="JavaScript">
  11. document.frmlogin.username.focus();
  12. </script>
  13. </body>
  14. </html>