[jQuery] [autocomplete] Proper way to send id for an auto-completed field

[jQuery] [autocomplete] Proper way to send id for an auto-completed field


I would like to send the id of the auto-completed field instead of the
text in my post request to the server and am wondering how i could
accomplish that. I am quite new to jquery

--
The design is complete then, not when there is nothing more to add, but
when there is nothing more to take away
Antoine Saint de Exupery