mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-22 22:36:37 +01:00
17 lines
No EOL
402 B
JavaScript
17 lines
No EOL
402 B
JavaScript
function revealhidePassword1() {
|
|
const x = document.getElementById("password");
|
|
if (x.type === "password") {
|
|
x.type = "text";
|
|
} else {
|
|
x.type = "password";
|
|
}
|
|
}
|
|
|
|
function revealhidePassword2() {
|
|
const x = document.getElementById("verifypassword");
|
|
if (x.type === "verifypassword") {
|
|
x.type = "text";
|
|
} else {
|
|
x.type = "verifypassword";
|
|
}
|
|
} |