Hi,

On Wed, Apr 28, 2010 at 5:04 PM, badnaam <[email protected]> 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 [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.

Reply via email to