Passing ID values to autocomplete text box

Passing ID values to autocomplete text box

Hi,

As a recent convert to jQuery I'm getting to grips with the jQuery autocomplete plug-ins which are available. I thought I'd replace some of my combo boxes with these as they'd be very useful and make life easier for my users.

I can understand how they work and how the values returned can be passed on via my forms, however, whilst I'd like my users to see meaningful results in the list of the autocomplete, I would like to pass on an ID for that field entry during form submission, rather than the friendly data which they see. Is there a way to show users 'friendly' information but pass on the ID to the submission script?

Any help or pointers in the right direction appreciated!

cheers,

Wittner