How can I retrieve two values from jquery-autocomplete
Posted
by RedMist
on Stack Overflow
See other posts from Stack Overflow
or by RedMist
Published on 2010-06-18T09:09:22Z
Indexed on
2010/06/18
9:13 UTC
Read the original article
Hit count: 159
jquery-autocomplete
I need my application to auto-complete on a company name, but also fill in a hidden form field with the ID of that company selected.
I believe it's possible to return pair values, with the pipe separator, such as........
Microsoft|10
Oracle|20
Sybase|30
And indeed this seems to work, but I don't know how to access the 2nd argument.
© Stack Overflow or respective owner