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/.