Forum: Ruby on Rails "observe_field" and "onblur"

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
60a3df689ea2a20d11d3986e02f9b7d1?d=identicon&s=25 Javier_CH (Guest)
on 2007-05-07 14:14
(Received via mailing list)
I've a text_field_tag (dom-id: tag) in a form (http:// Now I'd like it to have this kind ob

The user types in some stuff and as soon as he hits the tabulator-key
some fancy javascript/ajax stuff happens before the cursor jumps to
the next text_field_tag.

I assumed this would be done using an observe_field-method with the
value "blur" on the :on-parameter as seen here:

Well, nothing happens. No error, no debug information using firebug,
it just seems as if the browser would ignore that observe_field-stuff.

Does anyone have a clue?
60a3df689ea2a20d11d3986e02f9b7d1?d=identicon&s=25 Javier_CH (Guest)
on 2007-05-07 14:23
(Received via mailing list)
I guess monday hasn't arrived to my brain yet. :-)

i did forget to add <%= observe_tag_textfield -%> in my view.
This topic is locked and can not be replied to.