From: Ganesh Kumar Date: 2008-09-13T13:25:26+09:00 Subject: radio_button with onclick option Hi i want to know to how to call contoller function when onclick occures for radio button i have used the syntax below but it is throwing error plz reply if there is any solution <%= radio_button_tag "student", "report", false, options = {:id=>'student_report', :onclick =>"javascript:$('report').action= /user/lp_report" }%> $('report')=> it is the form id -- Posted via http://www.ruby-forum.com/.