[Rails] Form with xhr and regular submits
Hey All,
I'm wondering if it's possible to have a form with 2 submit buttons,
where one submit button whould submit the form via xhr and the other
would be a regular submit.
Possible? As simple as dynamically removing the 'date-remote'
attribute from the form?
Thanks,
Curtis
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home