Forum: Ruby on Rails observe_field and onkeypress

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
69d524565ee927f209b5dcc04f313450?d=identicon&s=25 Chris Sepic (csepic)
on 2006-02-24 15:26
For the :frequency param in the docs, it says:

The frequency (in seconds) at which changes to this field will be
detected. Not setting this option at all or to a value equal to or less
than zero will use event based observation instead of time based
observation.

I'd like my field to make an ajax call for the onkeypress event, rather
than every 1 second or so. I thought it might do this if I omited
:frequency, but it doesn't seem to do anything. Is there a way to set
this?
This topic is locked and can not be replied to.