I'm using jquery autocomplete 1.0.2. The autocomplete retrieves data from the server and the option mustmatch is set to true.
My data on the server has a code field and a description, and I'm returning <code>+" "+<description>|<id> an example of data returned by the server would be: FIN Finance|2 PER Personel7 This work fine except when the code field contains numeric data, eg. 010 Finance|2 020 Personel7 In this case, when an element is selected, the textbox is cleared on selection, although I have a valid selection. The result event however is triggered, so this indicates I have a valid selection. The result event is used to set a hidden field to the <id> of the selected item. What do I need to change to make this work?