I'm trying to use remote data source autocomplete, I have a code that works. I'm returning an id column from a db table. what I'm trying to do is to have the autocomplete display 2 values from the table row, for example id1 - this is id 1 id2 - this is id 2
but I can't figure out how to modify my sql and jquery function to add .description to the item object. i managed to do that when i got all the possible results in one time and put them in js array, but now that my source is not an array, I don't know how to do it.
my jquery function (i added the part that displays the description but clearly the code that adds the description to item obj is missing)