Hi there.
I know that there are a lot of solutions that have been discussed for
this issue here already. However none of them did work for me. Either
the selected option did work, but not “:include_blank => true” or my
AJAX-code gots messed-up.
Is there a final solution for this?
Here my code:
<%= collection_select(“category_selection”, “super_category_id”,
@super_categories, :super_category_id, :name,
@selected_super_category_id,
{:onChange => remote_function(:update =>
“box_search”,
:url => {:action
=> :search_by_category},
:submit =>
“category_selection_super_category”) } ) -%>
Thanks
David