Forum: Ruby on Rails Observing radio buttons

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.
6c2e0fdaef441957b00ad23923e9d77d?d=identicon&s=25 Dustin Selman (antithesis)
on 2006-01-18 18:56
I'm having some problems with observe_field on some radio buttons. seems
to be calling my action on change rather than on click (i.e. when i
click on one button the previously selected button's action gets called
without a value, then the newly clicked button's action gets called with
it value) I tried the :on => 'click' option to no avail.

Any help greatly appreciated
--dustin
6828ffc79486cd2442714bf32286a910?d=identicon&s=25 Vivek Krishna (Guest)
on 2006-01-20 06:01
(Received via mailing list)
why cant u use "onchange" ?
This topic is locked and can not be replied to.