dineshv schrieb:
I know this is a simple question but ... In the Autocomplete multiple
cities example (http://dev.jquery.com/view/trunk/plugins/
autocomplete/) how do you send the final set of chosen entries to the
server ie. all the values in the input box when "Get Value" is
clicked?
[...]
Thats the part where you'd have to insert your logic:
$("#suggest3").result(function(event, data, formatted) {
var hidden = $(this).parent().next().find(">:input");
hidden.val( (hidden.val() ? hidden.val() + ";" : hidden.val())
+ data[1]);
});
The arguments to the result-callback give you the most recent selection.
Via $("#suggest3").val() you'll get the complete value.
Jörn