Mostrar Contraseña
<html>
<head>
<script src="js/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<input type="password" class="pass" value="Password">
<br>
<input type="checkbox" class="check"> Mostrar Contraseña </body>
<script type="text/javascript">
$('.check').on("change",function(){
if($(this).prop('checked')) {
$('.pass').attr("type","text");
}
else{
$('.pass').attr("type","password");
}
});
</script>
</html>
<head>
<script src="js/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<input type="password" class="pass" value="Password">
<br>
<input type="checkbox" class="check"> Mostrar Contraseña </body>
<script type="text/javascript">
$('.check').on("change",function(){
if($(this).prop('checked')) {
$('.pass').attr("type","text");
}
else{
$('.pass').attr("type","password");
}
});
</script>
</html>