I want to use Jquery autocomplete in my web application but encounter issues. I am developing my application in ASP.NET and JQuery.
Here\'s the part of the Autocopm
I simply suggest you instead of using any other method you can use :
success: function (data, status, xhr) {
var jsonArray = JSON.parse(data); // Normal way
}
Other way
success: function (data, status, xhr) {
var jsonArray = $.parseJSON(data); // using jQuery
}
In this way it will be converted to a simple JavaScript object which you can easily manipulate on your UI/DOM.