Retrieving parameter or selected value using remote_function


Can anyone let me know how to fetch selected option from the following
select box :

<%= select(:category_view,:name,@categories_choices, {:include_blank =>
{:onChange =>remote_function(:update => “div_team_coverage”, :url =>
{:action => :set_team_values} ,:with => “category=”+ escape(value))} )

<%= render(:partial => "team_coverage_data")%>

And I want to know how can I access this in the controller. When I try
to access in controller as :


I got nil params exception.

As i need it eagerly to fetch the value selected on first select box,
and base on that i need to populate data in the second select box from
the database.

Thanks in advance.