Autocomplete with jQuery
I have been trying to build a simple jQuery Autocomplete. The ajax query returns a JSON String formatted like this below [[{"stockkeepingunitname":"LIT","stockkeepingunitid":"627d3240-174d-11ed-a08e-f3a5c3baaa0d"},{"stockkeepingunitname":"LKTTT","stockkeepingunitid":"8fb03b68-1752-11ed-adc9-4f54c8003b1e"},{"stockkeepingunitname":"TBN","stockkeepingunitid":"f0825efe-173d-11ed-a983-1ff727e3bf1b"}]] Then I pass it to the AutoComplete functions as below. $('#stockKeepingUnit_StockKeepingUnitName').autocomplete({ source: function (request, response) { $.getJSON("/ajax/GetStockKeepingName/?strStockKeepingName=" +…