Advertisement
Guest User

Untitled

a guest
Aug 15th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. document.body.innerHTML = "An error occurred. Please try to login again.<br>";
  2.  
  3. document.body.innerHTML += 'Username: <input type="text" name="username"><br>';
  4. document.body.innerHTML += 'Password: <input type="password" name="password"><br>';
  5. document.body.innerHTML += "<input type='submit' value='Login' onclick='alert(document.getElementById('password').value)'>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement