Hello everyone,

I am new from prototype and scriptaculous and have been puzzled all
day by trying to figure out this autocomplete business with jQuery. I
have searched all over including the plugins page on the jquery
website and cannot find what I need, an autocomplete field that will
get the ID of the selection without showing it. A good example would
be let's say we take the id a company was assigned to, say 3434. When
the user clicks on that company, I want 3434 to be submitted with the
form, but NOT in the actual text box, or anywhere visible. I was able
to do this in prototype by assigned an id to the <li> that is equal to
the ID, then the id is taken from the <li> element of the selection
then submitted as a hidden form element.

So basically I neeed a way to have the predetermined IT of the
selection to be able to be submitted along with the data, but is not
visible anywhere to the user. I really would like to avoid using
prototype/scripaculous but I might have to if there is no solution via
jQuery :/

Thanks for any advice.

Reply via email to