[Proto-Scripty] Re: Ajax.Autocompleter and running scripts in results

2009-04-11 Thread Antti Boman
('text') },   evalScripts: true }); On Apr 8, 9:42 am, Antti Boman antti.bo...@gmail.com wrote: 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

[Proto-Scripty] Ajax.Autocompleter and running scripts in results

2009-04-08 Thread Antti Boman
Is there any way to get javascript run when the results div for Ajax.Autocompleter is shown, but before anything has been chosen? I tried it like this: ul lioption 1/li lioption 2/li /ul script type=text/javascripthandle_additional_things()/script For some reason, the script doesn't get run at

[Proto-Scripty] Re: Ajax.Autocompleter and running scripts in results

2009-04-08 Thread Antti Boman
), 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