Jorge Mario G. Mazo
2007-Mar-06 05:50 UTC
collection_select and remote_function used together?
Hi there I have this code <%= collection_select ''address'', ''address'', @addresses, :id, :address, {}, { :onchange => remote_function(:url => { :action => ''show_order'', :controller => ''addresses'', :id => @user }, :update => ''adrdiv'') }%> the @user id is passed but not the address id of the picked option in the select how do I pass both at the same time? thanks in advance -- Jorge Mario G. Mazo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---