1(function ($) { 2 $(function () { 3 $('.recherche-actualite #widget-actualite-search-key').autocomplete({ 4 source: function (request, response) { 5 $.ajax({ 6 url: actualiteSearch.ajaxUrl, 7 dataType: 'json', 8 data: { 9 action: 'search_key_autocomplete', 10 searchKey: request.term 11 }, 12 success: function (data) { 13 response(data); 14 } 15 }); 16 } 17 }); 18 19 //event for date-picker 20 $("#datepicker").change(function () { 21 var text = $(this).val(); 22 if (text != null && text != "") { 23 $(this).addClass("active"); 24 } else { 25 $(this).removeClass("active"); 26 } 27 28 }); 29 30 31 }); 32}(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.