Hi everyone,
I recently upgraded jQuery to 1.4.2 and jQuery-UI to 1.8.2. Mistake or not, I started pulling my hair when I tried combining the new ui-autocomplete (not the old one from bassistance.de) with jeditable.
When I edit a field in my page (usually a span with a unique ID), user starts typing the name of someone and I manage to display the label name+last name in the input field generated by jeditable. My problem is that some contacts in my DB have same name+last name. So sending the result "name+last name" will not allow me to get the right contact. Instead I need to send the ID associated with that contact.
Has anyone managed to create a new custom input involving the latest ui-autocomplete where the ID would be stored in a hidden input then posted to the processing script while the label is displayed in the visible input field ?
Additional question: can anyone confirm that it is absolutely not possible to use ui-autocomplete where the label is displayed in the input field and the id stored in the value of the same input ? A hidden input is always necessary right ?
Many thanks in advance