I actually checked the source and couldn't find anything there, or then I just didn't understand it completely. That's why I decided to ask here. The updateElement and afterUpdateElement methods are useless in this case, as they are run after the selection's been made. Also, "callback" is too early for my purposes. The thing I'm looking for is in the middle of them, and it seems there is no such thing and I may have to code it myself.
Thanks for your help, anyway! -a On Apr 8, 5:06 pm, Walter Lee Davis <[email protected]> wrote: > I haven't seen anything in the Wiki either, but you might want to > check the source. There may be a function in there you could hook on > to that's just not documented. The only two events in the > autocompleter cycle that appear extensible are updateElement (where > you have to replace the entire add-the-item-to-the-field part with > your own creation), afterUpdateElement (which looks interesting) and > callback (before the field data is sent to the server, might be too > soon for you). > > Walter > > On Apr 8, 2009, at 8:50 AM, Antti Boman wrote: > > > I couldn't find any method for the Autocompleter object that would run > > a piece of javascript, either. And I also didn't find anything by > > googling. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
