Displaying 1 result from an estimated 1 matches for "new_user_form".
2006 Feb 17
1
AJAX and radio buttons
...r a moment (0.5s ?) and then suddenly changes to
the first value.
Is there a way to send values just on ''onclick'' or ''onchange'' events?
Here''s my observer:
<%= observe_field("user_osoba", :frequency => 0.5,
:update => "new_user_form", :url => { :action => ''select_type'',
:type => ''person'' }) %>
and here''s ''select_type'' action:
def select_type
@type = params[:type] || ''''
if @type == ''person''...