I currently have a JSON callback containing both an id an a name as below:
[{"id":"1","name":"Wired Motors"},
{"id":"2","name":"pragma innovations"},
{"id":"3","name":"University of Femme Fatales"}]
I am using jQuery UI autocomplete which needs to match the name section of the returned result and display this in the suggest drop down and also be able to drag in the id into a html data element.
So far I am not having much luck in matching the user input to the name section of the callback. I can do this with a clean array but not sure how to do this with a JSON array