1$(document).ready( function() { 2 jQuery("#ke_search_sword").autocomplete({ 3 source: function( request, response ) { 4 jQuery.ajax({ 5 url: "https://www.wido.de/index.php?eID=keSearchPremiumAutoComplete", 6 dataType: "json", 7 cache: false, 8 data: { 9 wordStartsWith: request.term, 10 amount: 10, 11 pid: 7 12 }, 13 success: function( data ) { 14 if(data) { 15 response( jQuery.map( data, function( item ) { 16 return { label:item, value:item } 17 })) 18 } else response( {} ) 19 } 20 }) 21 }, 22 select: function( event, ui ) { 23 jQuery( "#ke_search_sword" ).val( ui.item.value ); 24 jQuery( "form#form_kesearch_pi1" ).submit(); 25 }, 26 minLength: 3 27 }); 28 jQuery("#search-input").autocomplete({ 29 source: function( request, response ) { 30 jQuery.ajax({ 31 url: "https://www.wido.de/index.php?eID=keSearchPremiumAutoComplete", 32 dataType: "json", 33 cache: false, 34 data: { 35 wordStartsWith: request.term, 36 amount: 10, 37 pid: 7 38 }, 39 success: function( data ) { 40 if(data) { 41 response( jQuery.map( data, function( item ) { 42 return { label:item, value:item } 43 })) 44 } else response( {} ) 45 } 46 }) 47 }, 48 select: function( event, ui ) { 49 jQuery( "#search-input" ).val( ui.item.value ); 50 jQuery( "#search-input-con form" ).submit(); 51 }, 52 minLength: 3 53 }); 54 jQuery("#search-input-mobile").autocomplete({ 55 source: function( request, response ) { 56 jQuery.ajax({ 57 url: "https://www.wido.de/index.php?eID=keSearchPremiumAutoComplete", 58 dataType: "json", 59 cache: false, 60 data: { 61 wordStartsWith: request.term, 62 amount: 10, 63 pid: 7 64 }, 65 success: function( data ) { 66 if(data) { 67 response( jQuery.map( data, function( item ) { 68 return { label:item, value:item } 69 })) 70 } else response( {} ) 71 } 72 }) 73 }, 74 select: function( event, ui ) { 75 jQuery( "#search-input-mobile" ).val( ui.item.value ); 76 jQuery( "#search-input-con-mobile form" ).submit(); 77 }, 78 minLength: 3 79 }); 80});
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.