1 2$(document).ready(function () { 3 getAutoGenLinks(); 4}); 5 6function getAutoGenLinks() { 7 $.ajax({ 8 url: "/api/v1/keywords1", 9 contentType: "application/json; charset=utf-8", 10 type: 'GET', 11 dataType: 'json', // added data type 12 success: function (res) { 13 if (res != '' && res != undefined) { 14 res1 = JSON.parse(res); 15 $("#autoGenId").attr('href', res1.Url); 16 $("#autoGenId").text(res1.Title); 17 $("#autoGenImgId").attr("src", res1.FileClass); 18 $("#autoGenImgId").attr("alt", res1.Title); 19 $("#autoGenAncId").attr('href', res1.Url); 20 $("#autoGenAncIdCustom").attr('href', res1.Url); 21 } 22 }, error: function (xhr, status, error) { 23 var err = eval("(" + xhr.responseText + ")"); 24 25 } 26 }); 27 28 29} 30 31
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.