1 2jQuery(document).ready(function() { 3 jQuery('.how-you-find-us').hide(); 4 jQuery('.una-linea').hide(); 5 jQuery('.email').hide(); 6 jQuery('.message').hide(); 7 8 jQuery("#message").keydown(() => { 9 jQuery("#message").css('height', (jQuery("#message").prop('scrollHeight')) + "px"); 10 }); 11 12 jQuery('#potential').change(function() { 13 if (jQuery(this).val() === 'Client') { 14 jQuery('label#client').html('Interested in'); 15 jQuery('select#type-potential').html('<option value=""></option><option value="Social Media">Social Media</option><option value="Strategy">Strategy</option><option value="Media Buy">Media Buy</option><option value="Creative">Creative</option><option value="Research">Research</option><option value="Branding">Branding</option><option value="Digital Transformation">Digital Transformation</option><option value="Influencers">Influencers</option><option value="Websites/Apps">Websites/Apps</option><option value="Other inquiries">Other inquiries</option>'); 16 } else if ($(this).val() === 'Vendor') { 17 jQuery('label#client').html('Offering'); 18 jQuery('select#type-potential').html('<option value=""></option><option value="Digital tools">Digital tools</option><option value="Promotions">Promotions</option><option value="Services">Services</option><option value="General inquiries">General inquiries</option>'); 19 } else if ($(this).val() === 'Candidate') { 20 jQuery('label#client').html('Specialized in'); 21 jQuery('select#type-potential').html('<option value=""></option><option value="Social Media">Social Media</option><option value="Strategy">Strategy</option><option value="Research">Research</option><option value="Paid Media">Paid Media</option><option value="Creative">Creative</option><option value="Design">Design</option><option value="Account management">Account management</option><option value="Other">Other</option>'); 22 } 23 }); 24 25 jQuery('select#type-potential').change(function() { 26 jQuery('.how-you-find-us').show(); 27 jQuery('.una-linea').show(); 28 jQuery('.email').show(); 29 jQuery('.message').show(); 30 }); 31 32 //Elimina las 3 rayas del select vacio en el contact form 33 jQuery('select#potential > option:nth-child(1)').html(''); 34 jQuery('select#type-potential > option:nth-child(1)').html(''); 35 jQuery('select#how-you-find-us > option:nth-child(1)').html(''); 36 37 var formText = document.querySelectorAll('.text-field'); 38 [].forEach.call(formText, function(el, i) { 39 el.onfocus = function() { 40 var label = document.querySelectorAll('.place'); 41 [].forEach.call(label, function(par, i) { 42 if (par.parentElement.lastChild.firstChild === el) { 43 jQuery(par).addClass('move-label'); 44 } 45 }); 46 } 47 jQuery(el).on("focusout", function() { 48 var label = document.querySelectorAll('.place'); 49 [].forEach.call(label, function(par, i) { 50 if (par.parentElement.lastChild.firstChild === el && el.value.length < 1) { 51 jQuery(par).removeClass('move-label'); 52 } 53 }) 54 }) 55 }); 56});
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.