im using jquery-autocomplete (http://code.google.com/p/jquery-autocomplete)
what i don't understand is how to parse a complex json object to it. So far with "remoteDataType: 'json'" all i can specify is a "name" and "value".
But i want to pass in a large json object "data" with other fields such as
name: Mr Smith, address: 180 my road, value: 12345
so it seems to understand a name and value as a key-val. But how do i get address in the showResult or onItemSelect functions?
Thanks