In 5.0.11 I was unable to find a good extension point for the autocomplete mixin. The scriptaculous Ajax.Autocompleter does support updateElement and afterUpdateElement methods, but as far as I can tell you can't get them into the configuration because the JSONObject quotes its attributes (making the function into a string). If anyone has solved that problem I'd love to hear about it. http://wiki.script.aculo.us/scriptaculous/show/Ajax.Autocompleter
One option would be to add a change handler to the input field that the autocomplete is populating. Something like: $('mytextfield').observe('change', function(theEvent) { /* update other fields */}); Hope that helps, Josh On Tue, Apr 29, 2008 at 4:47 AM, Leon Derks <[EMAIL PROTECTED]> wrote: > Does the autocomplete mixin fire some kind of event, after I have selected > an item from the autocomplete-menu? > > Because I want to update other fields, based on the value that I selected. > > How can I do this? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -- TheDailyTube.com. Sign up and get the best new videos on the internet delivered fresh to your inbox. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]