1jQuery( document ).ready(function($) { 2 $('#input_4_10').on('change', function() { 3 if(parseInt($(this).val()) == 2) { 4 $('[data-contact-phone] input').attr('required', true); 5 $('[data-contact-phone] .req-star').removeClass('d-none'); 6 } else { 7 $('[data-contact-phone] input').attr('required', false); 8 $('[data-contact-phone] .req-star').addClass('d-none'); 9 } 10 }); 11});
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.