Yes, of course. This was only in an Admin interface where I will need to
quickly select a dropdown only for each post. It is very tedious to select
and then click a button when you might need to do it like a couple of
thousand times :)
I use Active Admin which comes with an old jQuery / rails javascript. I
updated it and then I could do this:
$('#myform select.something').change ->
form = $(this.form)
form.trigger 'submit.rails'
....
Works great! :)
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/iiLszDSeBCsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.