24.09.2026

This commit is contained in:
2026-09-24 16:39:31 +02:00
parent 50c6868dfe
commit 72df5857cb
7 changed files with 274 additions and 47 deletions
+23
View File
@@ -0,0 +1,23 @@
function togglePassword(){
var passwordField = document.getElementById("togglePasswordBtn");
if(passwordField.type === 'password'){
passwordField.type = 'text';
}
else if(passwordField.type === 'text'){
passwordField.type = 'password';
}
}
document.getElementById('togglePasswordBtn2').addEventListener('click', function() {
var passwordField2 = document.getElementById("togglePasswordBtn");
if(passwordField2.type === 'password'){
passwordField2.type = 'text';
}
else if(passwordField2.type === 'text'){
passwordField2.type = 'password';
}
});