Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>
- Sample page
- </title>
- <script>
- function check()
- {
- var username=document.getElementById("uname").value;
- var password=document.getElementById("pswd").value;
- alert("Username:"+username);
- alert("Password:"+password);
- }
- </script>
- </head>
- <body>
- <form action="/insert" method="get">
- <p><h1>SRKR COLLEGE</h1></p>
- Username:
- <input type="text" id="uname" name="uname"/><br><br>
- Password:
- <input type="password" id="pswd" name="pswd"/><br><br>
- <button type="submit" onclick="check()">login</button>
- </form>
- </body>
- </html>
Add Comment
Please, Sign In to add comment