Forum: Ruby on Rails Passing Muliple Parameters with remote_function

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Randal S. (Guest)
on 2006-05-10 23:19
<select name="media" id="media" onchange="<%= remote_function(
              :url => { :action => :show_performer_categories,
:rate_group_id => @rate_group },
              :with => "'media_id='+this.value'"
            )  %>">

I'm guessing that's wrong since WebRick does nothign when I call that
function...

However this works...

<select name="media" id="media" onchange="<%= remote_function(
              :url => { :action => :show_performer_categories, },
              :with => "'media_id='+this.value'"
            )  %>">

So my question.... how do you pass multiple parametes?  media_id I can
get, the other I can't.

thanks!
This topic is locked and can not be replied to.