I have a small form that I want to submit through AJAX when a dropdown is changed. I have set the form to be :remote => true.
But if I do something like:
The form is not submitted through AJAX. Can I trigger Rails ajax submit function somehow instead of the .submit()?