1$(document).on("keypress change", ".required_field", function(e) { 2 $(this).closest('.form-input-section').find('.validation').hide(); 3 }); 4 5 $('input.required_field').on('focus keyup focusout', function() { 6 $('.error').addClass('hidden'); 7 if (!$(this).val()) { 8 $(this).closest('.form-input-section').find('.validation-field').show(); 9 } else { 10 $(this).closest('.form-input-section').find('.validation-field').hide(); 11 } 12 }); 13 14 15 $('textarea.required_field').on('focus keyup focusout', function() { 16 if (!$(this).val()) { 17 $(this).closest('.form-input-section').find('.validation-field').show(); 18 } else { 19 $(this).closest('.form-input-section').find('.validation-field').hide(); 20 } 21 }); 22 23 $('select.required_field').on('keyup focusout', function() { 24 if (!$(this).val()) { 25 $(this).closest('.form-input-section').find('.validation-field').show(); 26 } else { 27 $(this).closest('.form-input-section').find('.validation-field').hide(); 28 } 29 });
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.