1$('#contact_civility option[value="Mr."]').prop('selected', true); 2 3$('#contact_contact_type').change(function() { 4 if($('#contact_contact_type').val() == "newsletter") 5 { 6 $('#choose_doc').hide(); 7 $("input[type='text']").prop('required', false); 8 } 9 else 10 { 11 $('#choose_doc').show(); 12 $("input[type='text']").prop('required', true); 13 $(".checked_department").prop('required', true); 14 $(".checked_department").change(function() { 15 if(typeof $(".checked_department:checked").val() != 'undefined') 16 $(".checked_department").prop('required', false); 17 else 18 $(".checked_department").prop('required', true); 19 }); 20 } 21}); 22 23$('#contact_civility').change(function() { 24 if($('#contact_civility').val() == "") 25 { 26 alert('Please, choose an option'); 27 $('#contact_civility option[value="Mr."]').prop('selected', true); 28 } 29}); 30 31$(document).ready(function(){ 32 $('#documentation_form').on('submit', function(e){ 33 fbq('track', 'Documentation'); 34 gtag('event', 'Documentation'); 35 gtag('event', 'conversion', {'send_to': 'AW-965905555/xn4pCPW_4ucYEJOZyswD'}); 36 dataLayer.push({ 37 'event': 'Documentation' 38 }); 39 }); 40}); 41 42 43function test(){ 44 if($('#contact_subscribe_newsletter').prop('checked')) 45 $('#contact_subscribe_newsletter').val("no"); 46 else 47 $('#contact_subscribe_newsletter').val("yes"); 48}
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.