What is the easiest and most graceful way to auto-submit an AJAX form when a drop-down box\'s option is selected? I\'m creating an administration page where the admin can modify
Three steps!
form_for
select
observe_field
The last bit looks something like:
<%= observe_field "id_of_select", :function => "$('form_id').submit();" %>