1 2if (typeof jQuery != 'undefined' || jQuery) { 3 jQuery(document).ready(function($){ 4 $(document).on('click', '.mbmselectbox', function(e) { 5 $("#MBMDropdownCheckboxes").toggle(); 6 }); 7 8 $(document).on('change', '#register-form select[name="mbm_param_company_type"]', function () { 9 var other = $('input[name="mbm_param_company_type_other"]'); 10 if ($(this).children('option:selected').data('other') == '1') { 11 other.closest('section').removeClass('hidden'); 12 } else { 13 other.closest('section').addClass('hidden'); 14 other.val(''); 15 } 16 }); 17 18 $(document).on('change', '#profile-form select[name="mbm_param_company_type"]', function () { 19 var other = $('input[name="mbm_param_company_type_other"]'); 20 if ($(this).children('option:selected').data('other') == '1') { 21 other.closest('section').removeClass('hidden'); 22 } else { 23 other.closest('section').addClass('hidden'); 24 other.val(''); 25 } 26 }); 27 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.