1jQuery(document).ready(function() { 2 jQuery('#submit').click(function (e) { 3 // No selection is required: submitting with nothing chosen shows all classes. 4 if (jQuery('#classtypedropdown').val() == 'private-classes') { 5 e.preventDefault(); 6 document.location.href = 'https://countyccw.com/private-firearms-training-classes#privclass'; 7 return false; 8 } 9 if (jQuery('#countiesdropdown').val() != null && jQuery('#countiesdropdown').val() != 0) { 10 document.cookie = 'counties_user=' + jQuery('#countiesdropdown').val() + '; path=/; domain=.countyccw.com;'; 11 } else { 12 document.cookie = 'counties_user=; path=/; domain=.countyccw.com; expires=Thu, 01 Jan 1970 00:00:01 GMT'; 13 } 14 return true; 15 }); 16 jQuery('#clear').click(function (e) { 17 if (jQuery('#classtypedropdown').val() == "" && jQuery('#countiesdropdown').val() == "" && jQuery('#instructortypedropdown').val() == "") { 18 e.preventDefault(); 19 alert('Please select one of the options'); 20 } else { 21 jQuery('#classtypedropdown').val(""); 22 jQuery('#countiesdropdown').val(""); 23 jQuery('#instructortypedropdown').val(""); 24 } 25 }) 26});
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.