Shandy Nantz wrote:

I want to create an onclick event for the radio button. Here is what I

<%= radio_button_tag 'user', 'd_home', :id => 'user[d_home]', :onclick
=> "new Effect.SwitchOff('apear-div'); new Effect.Fade( 'apear-div' )"

Now, the radio button works fine along with the other members of the
group, is just doesn't recognize the :onclick part. Anyone know what I'm
missing here? Thanks,

Check the APIs for radio_button and radio_button_tag, you're not
using them correctly: