Displaying 1 result from an estimated 1 matches for "show_yes".
Did you mean:
show_regs
2006 Aug 01
3
Radio buttons and AJAX
...ppear, which is 2 calls. This way you can
toggle back and forth.
The 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...