Displaying 2 results from an estimated 2 matches for "category_view".
2006 Jun 15
0
retrieving parameter or selected value using remote_function
Hi,
Can anyone let me know how to fetch selected option from the following
select box :
<%= select(:category_view,:name,@categories_choices, {:include_blank =>
false},
{:onChange =>remote_function(:update => "div_team_coverage", :url =>
{:action => :set_team_values} ,:with => "category="+ escape(value))} )
%>
<div id="div_team_coverage">
<%= r...
2006 Jun 19
0
For toggling update "divs" in form_remote_tag on condition!
...t needs to update another div call
"div_top_data".
<%= form_remote_tag( :update => "div_main_data", :url => { :action =>
:change_top_view }) %>
<!-- here i want to update another div "div_top_data" -->
<%= options = @categories_hash
select(:category_view,:name,options, {:include_blank => false,:selected
=>@selected_category_id},
{:onChange =>''this.form.onsubmit()'' }) %>
<%= submit_tag("Go")%>
Please let me know if anyone knows how to solve this .
Thanks,
Joshua
--
Posted via http://www.ruby-forum....