[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

radio_button with onclick option

Ganesh Kumar

9/13/2008 4:25:00 AM

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