Jeff,

>       $("#suggest2").result(function(event, data, formatted) {
>               $(this).find("..+/input").val(data[1]);
>       });

I believe the code above translates to my onFindValue. This means the above
code is run when a value is selected via the autoselect control. This means
that the above code should update your hidden field when the user using the
autocomplete control to fill in a value.

In order to manually fire off this event, you want to run the search()
method. This would go through and look up the value in the Autocomplete
control and then fire off the callback function specified in your result()
method.

$("#suggest2").search();

Lastly, just be aware that Jorn's code isn't 100% complete yet. There are
some quirks that are still be working out.

-Dan

Reply via email to