1 2 3 $( document ).ready(function() { 4 5 $('.live-event-option').removeClass('hide').addClass('hide').hide(); 6 7 var year = (new Date()).getFullYear(); 8 9 $('#year').html(year); 10 11 12 13 14 15 $("input,checkbox,textarea,select").not("[type=submit],[type=image]").jqBootstrapValidation({preventSubmit: true}); 16 17 18 19 $('#what').on('change', function() { 20 21 console.log( this.value ); 22 23 var selectedValue = this.value; 24 25 if(selectedValue == "Live events"){ 26 27 console.log('Show ' + this.value +' options'); 28 29 $('.live-event-option').removeClass('hide').show(); 30 31 $('.live-event-option').removeProp('disabled'); 32 33 } 34 35 else{ 36 37 console.log('Hide live events options'); 38 39 $('.live-event-option').removeClass('hide').addClass('hide').hide(); 40 41 $('.live-event-option').prop('disabled', true); 42 43 } 44 45 }); 46 47 /* 48 49 $.get("cookie_alert.html", function (data) { 50 51 $("body").append($(data)); 52 53 $(".cookie_info").text("This website uses cookies to ensure you get the best experience on our website"); 54 55 $(".cookie_link").text("More info"); 56 57 $(".cookie_continue").text("Got it!").on("click", function () { 58 59 $(".cookiemessage").remove(); 60 61 }); 62 63 }); 64 65 66 $('#message').css('height', '350px'); 67 */ 68 69 70 71}); 72 73 74 75 76
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.