1/* --------- SEARCH --------- */ 2/* jQuery('#searchpr').on({ 3 focus: function() { 4 jQuery(this).val() == this.defaultValue && jQuery(this).val(''); 5 }, 6 blur: function() { 7 !jQuery(this).val() && jQuery(this).val(this.defaultValue); 8 } 9 }); */ 10var id_search = $("#searchpr").attr('id'); 11$("#searchpr").autocomplete("ajax_search.php", { 12 resultsClass: "ac_results " +id_search, 13 delay: 200, 14 minChars: 2, 15 matchSubset: 1, 16 autoFill: false, 17 matchContains: 1, 18 cacheLength: 10, 19 selectFirst: true, 20 formatItem: liFormat, 21 maxItemsToShow: 8, 22 onItemSelect: selectItem 23}); 24$("#searchpr1").autocomplete("ajax_search.php", { 25 delay: 200, 26 minChars: 2, 27 matchSubset: 1, 28 autoFill: false, 29 matchContains: 1, 30 cacheLength: 10, 31 selectFirst: true, 32 formatItem: liFormat, 33 maxItemsToShow: 8, 34 onItemSelect: selectItem 35}); 36/* --------- END SEARCH --------- */
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.