showing results for - "jquery show password"
Martina
29 Jul 2019
1
2<div class="signin-form u-password p-relative">
3    <span class="view-password"><i class="fas fa-eye"></i></span>
4	<input id="pass" class="pass" type="password" placeholder="Enter your password"/>
5</div>
6
7$('.view-password').on('click', function () {
8  let input = $(this).parent().find(".pass");
9  input.attr('type', input.attr('type') === 'password' ? 'text' : 'password');
10});
Lukas
21 Jan 2019
1 $("#showpaswd").click(function () {
2        var x = document.getElementById("cpassword");
3        if (x.type === "password") {
4            x.type = "text";
5        } else {
6            x.type = "password";
7        }
8    });
Julia
08 Jan 2021
1$('#check').click(function(){
2	if(document.getElementById('check').checked) {
3    $('#test-input').get(0).type = 'text';
4  } else {
5      $('#test-input').get(0).type = 'password';
6  }
7});
8
9<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
10<input type='password' id='test-input' /> Show password <input type='checkbox' id='check' />
queries leading to this page
jq code for show passwordjquery password show hideview hide password entrycheck if there are password in password manager jqueryshow password functionality using jquerycurrent password jquery validateclick show password in jqueryjquery show password on clickget password value with jqueryform password and password check jqueryshow password on click jqueryjquery show input passwordjquery show password instantlyjquery get password input type password jqueryreveal password jqueryinput password hide valuepassword show jqueryhow to show password in jquerycheck password and confirm password in jqueryshow password type input jqueryhow to get the count of password protected box using jqueryview password jqueryshow password using jqueryhow to cover password in htmljquery get password input valuetoggle show password and hide password jqueryonclick show password in jqueryjquery input password showshow password in jqueryjquery library for strong passwordpassword toggle jqueryhide password input htmlshow password input jqueryjquery password field show textbootstrap password input starshow to show hide password in jquerypassword show hide jquery functionshow password jqueryjq show input passwordhtml input password eyejquery show hide passwordshow password click out jqueryjquery password with viewgenerate password jquery onclickon click password show in jquerycss password fieldhow to hide password while inputting in javascripthow to hide password in jqueryshow password jquery pluginjquery show passwordjquery view password buttonlogin passowrd toggle iconcheck strong password jqueryvisible password in jqueryjquery click to show passwordpassword show hide in jquerypassword show hide jqueryonclick show password with jqueryjwquery show passwordjquery hash passwordview my password jqueryjquery show password inputpassword view jqueryshow password on click button jquerysee password jqueryshow hide password jqueryjquery passwordhtml view password jqueryreveal password in jqueryjquery show password