[jQuery] Autocomplete - How to simulate a select box, where displayed value is one thing and submitted value is another

[jQuery] Autocomplete - How to simulate a select box, where displayed value is one thing and submitted value is another


Hi,
I'm trying to figure out how to use the autocomplete jQuery plugin
best to my needs. I'm looking to replace a select box with the
Autocomplete plugin, but not quite sure how to accomplish this.
In my select box, I have the option that is displayed is not the same
as the data that is submitted.
ex: <option value="123">This is Displayed </option>
However, with the autocomplete, since it is using a textbox, the
values that are displayed, are submitted.
Do I have to hack around using hidden fields to accomplish this type
of behaviour?
Thanks,
Eric