Show Password without any jquery plugin

Show Password Checkbox

jquery show password checkbox
$('#chkShow').change(function() {
    var isChecked = $(this).prop('checked');
    if (isChecked) {
        $('#txtPassword').prop('type', 'text');
    }
    else {
        $('#txtPassword').prop('type', 'password');
    }
});
Show Password without any jquery plugin Show Password without any jquery plugin Reviewed by Bhaumik Patel on 7:27 PM Rating: 5