I was trying to follow: Rails: submit (via AJAX) when drop-down option clicked
However none of these options appear to work (onsubmit, submit)
This is what I currently have that is refreshing the page:
= simple_form_for task, :remote => true, :format => :js do |f|`
= f.association :status, :label => false, :include_blank => false, :input_html => {:onchange=>'this.form.submit();' }`
This simply posts the form regularly and causes the page to refresh.
How can I get it to post via ajax so the page won't refresh?