This commit is contained in:
Alfredo Lima
2020-02-26 15:43:19 -06:00
commit 9f2001c549
51 changed files with 42593 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
function mostrarPassword(){
var cambio = document.getElementById("txtPassword");
if(cambio.type == "Password"){
cambio.type = "text";
cambio.src = "img/icons/eye-slash-solid.png";
}else{
cambio.type = "Password";
cambio.src = "img/icons/eye-solid.png";
}
}
$(document).ready(function () {
//CheckBox mostrar contraseña
$('#ShowPassword').click(function () {
$('#Password').attr('type', $(this).is(':checked') ? 'text' : 'password');
});
});