Created
February 6, 2018 14:58
-
-
Save lanmaster53/ff74f568c0e908dfa190c0aa60dd93e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Autocomplete Password Test</title> | |
<script> | |
function toggleType() { | |
var el = document.getElementById("pw"); | |
if (el.type =="password") { | |
el.type = "text"; | |
} else { | |
el.type = "password"; | |
} | |
} | |
</script> | |
</head> | |
<body> | |
<form action="https://lanmaster53.com"> | |
Username:<br> | |
<input type="text" name="username" value=""><br> | |
Password:<br> | |
<input id="pw" type="password" name="lastname" value=""> | |
<input type="button" value="Toggle" onclick="toggleType();"><br><br> | |
<input type="submit" value="Submit"> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment