Observing radio buttons

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

why cant u use “onchange” ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs