Form_remote and select


#1

Hello

I was using a form_remote in my view, when the form was submitted via
a button submit. it’s working
But it was submitted via a select
<%= f.select :zones , @pay.zones.collect {|c| [ c.Libelle, c.id ] },
{}, {:onChange => ‘this.form.submit();’} %>

The form was not submitted like a ajax form but like a traditional from

thanks for help