17 lines
473 B
JavaScript
Executable File
17 lines
473 B
JavaScript
Executable File
/*
|
|
Template Name: Dason - Admin & Dashboard Template
|
|
Author: Themesdesign
|
|
Website: https://Themesdesign.com/
|
|
Contact: Themesdesign@gmail.com
|
|
File: Password Addon Js File
|
|
*/
|
|
|
|
// show password input value
|
|
document.getElementById('password-addon').addEventListener('click', function () {
|
|
var passwordInput = document.getElementById("password-input");
|
|
if (passwordInput.type === "password") {
|
|
passwordInput.type = "text";
|
|
} else {
|
|
passwordInput.type = "password";
|
|
}
|
|
}); |