Since "inform id" or "inform the name" doesn't make much sense, do you
mean

"search for ID and fill in the name or search the name and fill in
ID?"

this would pretty much be done on the server side where you
concatenate the two fields, search for the match, and then return the
key/value pair and use "formatItem" to put them in their respective
places


On Apr 16, 1:12 pm, Giuliani Sanches <giulianisanc...@gmail.com>
wrote:
> I'm trying to use the autocomplete from 
> herehttp://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
>
> I have two fields in my database table:
>
> id
> name
>
> In my form i need to be able to inform id and return the name or
> inform the name and return id.
>
> Is there some example around ?
>
> Ty :)

Reply via email to