Facebook
From Melodic Parakeet, 1 Week ago, written in JavaScript.
Embed
Download Paste or View Raw
Hits: 67
  1. <html>
  2. <head>
  3. <script language="javascript">
  4. function display()
  5. {
  6.  alert("User ID "+login.userid.value+"Password :"+login.pswrd.value);
  7. }
  8. </script>
  9. </head>
  10. <body>
  11. <form name="login">
  12. Enter Username<input type="text" name="userid"><br>
  13. Enter Password<input type="password" name="pswrd"><br/>
  14. <input type="button" onclick="display()" value="Display">
  15. </form>
  16. </body>
  17. </html>