1(function ($) { 2 3 //Emap myaccount profile: mbm_param_job_function 4 var my_form_selector = '#profile-form select[name="mbm_param_job_function"], #register-form select[name="mbm_param_job_function"]'; 5 $(document).on('change', my_form_selector, function(event){ 6 7 if ($(this).val() == '10440') { 8 $('input[name="mbm_param_job_function_other"]').closest('section').show(); 9 } else { 10 $('input[name="mbm_param_job_function_other"]').closest('section').hide(); 11 $('input[name="mbm_param_job_function_other"]').val(''); 12 } 13 }); 14 15 16 if($('#mbm-param-job-function')){ 17 var mbm_param_job_function = $('#mbm-param-job-function').val(); 18 if(mbm_param_job_function == '10440'){ 19 $('#mbm-param-job-function-other-section').show(); 20 } 21 } 22 23 //Emap myaccount profile: mbm_param_job_level 24 var my_form_selector ='#register-form select[name="mbm_param_job_level"], #profile-form select[name="mbm_param_job_level"]'; 25 $(document).on('change', my_form_selector, function(event){ 26 27 if ($(this).val() == '10430') { 28 $('input[name="mbm_param_job_level_other"]').closest('section').show(); 29 } else { 30 $('input[name="mbm_param_job_level_other"]').closest('section').hide(); 31 $('input[name="mbm_param_job_level_other"]').val(''); 32 } 33 }); 34 35 if($('#mbm-param-job-level')){ 36 var mbm_param_job_level = $('#mbm-param-job-level').val(); 37 if(mbm_param_job_level == '10430'){ 38 $('#mbm-param-job-level-other-section').show(); 39 } 40 } 41 42 43 //Emap myaccount profile: mbm_param_company_type 44 var my_form_selector = '#register-form select[name="mbm_param_organisation_type"], #profile-form select[name="mbm_param_organisation_type"]'; 45 $(document).on('change', my_form_selector, function(event){ 46 47 if ($(this).val() == '10450') { 48 $('input[name="mbm_param_organisation_type_other"]').closest('section').show(); 49 } else { 50 $('input[name="mbm_param_organisation_type_other"]').closest('section').hide(); 51 $('input[name="mbm_param_organisation_type_other"]').val(''); 52 } 53 }); 54 55 56 if($('#mbm-param-organisation-type')){ 57 var organisation_type = $('#mbm-param-organisation-type').val(); 58 if(organisation_type == '10450'){ 59 $('#company_other_type-section').show(); 60 } 61 } 62 63 64})(jQuery);
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.