Displaying 1 result from an estimated 1 matches for "user_osoba".
2006 Feb 17
1
AJAX and radio buttons
...s value, but when i press the second button
it displays new value for 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[:ty...