1jQuery(document).ready(function($){ 2 $('#blog-search').on('keyup', function(){ 3 let query = $(this).val(); 4 if(query.length >= 2){ 5 $.ajax({ 6 url: my_ajax.ajax_url, 7 data: { 8 action: 'blog_search_suggestions', 9 s: query 10 }, 11 success: function(data){ 12 $('#search-suggestions').html(data).show(); 13 } 14 }); 15 } else { 16 $('#search-suggestions').hide(); 17 } 18 }); 19 20 // Ðлик по подÑказке 21 $(document).on('click', '.search-suggestion-link', function(){ 22 window.location.href = $(this).attr('href'); 23 }); 24});
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.