1jQuery(document).ready(function($){ 2$("#airportCode").autocomplete({ 3 source: function( request, response ) { 4 $.ajax({ 5 url: urlGetCode, 6 dataType: "json", 7 data: {term: request.term}, 8 success: function(data) { 9 response($.map(data, function(item) { 10 11 return { 12 label: item.location, 13 id: item.code, 14 15 }; 16 })); 17 } 18 }); 19 }, 20 minLength: 3, 21 select: function(event, ui) { 22 23 24 25 document.getElementById('airportLocation').innerHTML= ui.item.label; 26 $.ajax({ 27 url: urlGetIframe, 28 29 data: {term: ui.item.id}, 30 success: function(data) { 31 document.getElementById("contentRadar").innerHTML = data 32 } 33 }); 34 } 35 36 37 }); 38 39 });
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.