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-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
radio_button with onclick option
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password