This example is based on a jQuery plug-in: jQuery-Autocomplete which does not require jQuery-UI. It searches in one value but will return another value when the user select the value.
You may use arrow keys to select a product name. Added another example with Danish zip code to city lookup.
The data in this case is aJSONblock of data. The structure is an array of objects:
[ {"value":"Acrobat","data": "PROD2"} ]In this case I decided to extract the data into this array of JSON data, instead of doingAJAXrequest for each look-up, saving the webserver some requests.