Yes, I tried the following:
$("#Tags").autocomplete("/File/GetTags", { width: 260, formatItem: function(item) { return item.Name; } }); But this is not working. Any idea? Thanks, Miguel On Jul 11, 7:03 pm, tlphipps <[EMAIL PROTECTED]> wrote: > You need to use the formatResult option (I think that's the option > name). It will allow you to format the data for display. > > On Jul 11, 12:08 pm, shapper <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I am using JQuery AutoComplete with JSon. I created a function on my > > server code which return the data. > > > However, when I start writing "J" in my Input I get the following: > > > [{"TagID":"883b197e-0cb3-4528-8403-0877d742bf47","Name":"John"}, > > {"TagID":"017b253e-596b-4328-85f5-fd97a783759c","Name":"Jane"}] > > > How to get only the names instead of this strange format? Am I a > > missing something here? > > > Thanks, > > Miguel