im getting response in json, but this wont parse the json response. what m i doing wrong? i could\'nt find anything on doc http://docs.jquery.com/Plugins/Autocomplete
I think you just need to throw in a dataType option, I remember readying that you can use any of $.ajax's options in the autocompleter:
dataType
$.ajax
$("#users-allowed").autocomplete("/people/following.json", { dataType: "json", ...