Displaying 1 result from an estimated 1 matches for "filter_by_languag".
Did you mean:
filter_by_language
2006 Nov 04
0
Using collection_select and ajax
...;/option>
<option value="3">French</option></select>
<script type="text/javascript">
//<![CDATA[
new Form.Element.Observer(''lang_select'', 1, function(element, value)
{new Ajax.Updater(''item_list'', ''/items/filter_by_language'',
{asynchronous:true, evalScripts:true,
<snip>
parameters:value})})
//]]>
</script>
The problem is that the following are the params that Ajax is sending
back to my controller when the user selects a different language:
action: filter_by_language
controller: items
"2...