I am using autocomplete with "suggest: true". My autocomplete data source is a json array with name and id. The "name" is used as the dataTextField. I need to get the associated id with the name that is chosen. When using "suggest: true" the user can type part of the name and have a selection item appear in the autocomplete box hit enter and never actually select an item from the list. When this happens how can I get the id associated with the name?
I am able to get the id when the user selects is from the list.
I have a jsFiddle with this code at:
http://jsfiddle.net/KerryJenkinsDTC/a6cdb/7/
I am able to get the id when the user selects is from the list.
I have a jsFiddle with this code at:
http://jsfiddle.net/KerryJenkinsDTC/a6cdb/7/