1$('.srch_fld').keyup(function(){ 2 var likeThis = [], zapros = $(this).val(), vivod=''; 3 if(zapros.length >= 3){ 4 setTimeout(function () { 5 $.get("/shop/search/", {query: zapros, a: 10}, function(otvet){ 6 $('.mat-title', otvet).each(function(){ 7 val = $(this).html(); 8 likeThis.push(val); 9 }); 10setTimeout(otvet, 500); 11 $('#search2').fadeIn(); 12 if(likeThis[0]){ 13if(likeThis.length<24) {max=likeThis.length} else {max=24;} 14 for(i=0; i<max; i++){vivod += likeThis[i]+'';} 15$('#search2').html(vivod+'<center><input style="margin:15px 0px;" type="button" onclick="document.location.href=\'/search/?q=\'+document.getElementById(\'skey\').value;" value="ÐоиÑк по вÑÐµÐ¼Ñ ÑайÑÑ"></center>'); 16} else {$('#search2').html('<center><div>ТоваÑов в магазине не найдено...<br>ÐопÑобÑйÑе измениÑÑ Ð¿Ð¾Ð¸ÑковÑй запÑÐ¾Ñ Ð¸Ð»Ð¸ </div><input style="margin:15px 0px;" type="button" onclick="document.location.href=\'/search/?q=\'+document.getElementById(\'skey\').value;" value="СовеÑÑиÑÑ Ð¿Ð¾Ð¸Ñк по ÑайÑÑ"></center>');} 17 }); 18 }, 800); 19 } else { $('#search2').fadeOut(); } 20}); 21 22$(document).mouseup(function (e) { 23 var container = $("#search2"); 24 if (container.has(e.target).length === 0){ 25 container.hide(); 26 } 27});
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.