if I add the OnKeyUp() to that field though, it breaks the
autocomplete.

On Dec 15, 4:44 pm, Hassan Schroeder <[email protected]>
wrote:
> On Tue, Dec 15, 2009 at 1:25 PM, RVince <[email protected]> wrote:
> > I have Rails 2.3 app with a text_field_with_autocomplete and I need to
> > perform an action in the javascript  onKeyUp() method. So, in effect,
> > I believe i need to override this method.
>
> Unless the action has a timing relationship with whatever else is
> being done, you can just add an event listener to that field.
>
> --
> Hassan Schroeder ------------------------ [email protected]
> twitter: @hassan

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.


Reply via email to