Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- var cek = $('.form-checkbox').val();
- $('.form-checkbox').click(function() {
- if ($(this).is(':checked')) {
- $('.form-password').attr('type', 'text');
- } else {
- $('.form-password').attr('type', 'password');
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment