Ruby on Rails
Wednesday, April 28, 2010
Hi,
On Wed, Apr 28, 2010 at 5:04 PM, badnaam <asitkmishra@gmail.com> wrote:
if I call form
submission from a call back using jquery.
You should note that the documentation at api.rubyonrails.org explicitly shows you that 'action=' will be part of the generated code. You can use the :onsubmit option to call your javascript function. If you insist on using an event observer, I'd recommend you code your own ajax instead of having rails do it.
HTH,
Bill
--
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment