1$(function () { 2 $('.password_eye').click(function () { 3 if ($(this).hasClass('fa-eye-slash')) { 4 $(this).removeClass('fa-eye-slash'); 5 $(this).addClass('fa-eye'); 6 $(this).prev().attr('type', 'text'); 7 } else if ($(this).hasClass('fa-eye')) { 8 $(this).removeClass('fa-eye'); 9 $(this).addClass('fa-eye-slash'); 10 $(this).prev().attr('type', 'password'); 11 } 12 }); 13 14 $('.parent_obj').on('input', 'input', function () { 15 let input_list = $(this).parents('.parent_obj').find('li:visible').find('input'); 16 let flag = true; 17 for (let i=0; i<input_list.length; i++) { 18 let input_value = input_list.eq(i).val(); 19 if (!input_value) { 20 flag = false; 21 break; 22 } 23 } 24 if (flag) { 25 let button_submit = $(this).parents('.parent_obj').find('.info_but button[type="submit"]'); 26 button_submit.attr('disabled', false); 27 } else { 28 let button_submit = $(this).parents('.parent_obj').find('.info_but button[type="submit"]'); 29 button_submit.attr('disabled', true); 30 } 31 }); 32 33 $('ul.btntab li a').click(function () { 34 if (!$(this).hasClass('active')) { 35 $('.parent_obj').find('.password_eye').removeClass('fa-eye').addClass('fa-eye-slash').prev().attr('type', 'password'); 36 $('.parent_obj').find('input').val(''); 37 $('.parent_obj').find('em').hide(); 38 let button_submit = $('.parent_obj').find('.info_but button[type="submit"]'); 39 button_submit.attr('disabled', true); 40 } 41 }); 42 43 $('.third_r h3 span').click(function () { 44 $('.parent_obj').find('input').val(''); 45 $('.parent_obj').find('em').hide(); 46 $('.parent_obj').find('.password_eye').removeClass('fa-eye').addClass('fa-eye-slash').prev().attr('type', 'password'); 47 let button_submit = $('.parent_obj').find('.info_but button[type="submit"]'); 48 button_submit.attr('disabled', true); 49 }); 50});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.