Displaying 1 result from an estimated 1 matches for "project_yes_or_no_1".
2006 Aug 01
3
Radio buttons and AJAX
...problem is calling the template. I couldn''t find a way to do
something like this that worked:
<%= radio_button "project", "yes_or_no", "1", :onclick => :url { :action
=> "show_yes" } %>
Then I tried:
<%=
observe_field(''project_yes_or_no_1'',
:url => { :action => "show_yes"})
%>
This only works some of the time, and only once. Once the template is
called it never works again (if I click back and forth between the radio
buttons)
I''m sure the RJS template works ebcause I tried it with a
link...