Here's the <form> tag created by form_remote_tag:

<form action="/some/path" method="post" onsubmit="new Ajax.Request('/
some/path', {asynchronous:true, evalScripts:true,
parameters:Form.serialize(this)}); return false;">

Maybe I could manually trigger the forms onsubmit handler? How would I
do that?

On Jun 26, 2:39 pm, "Frederick Polgardy" <[EMAIL PROTECTED]> wrote:
> Wait, it's a form that submits via XHR?  How is the XHR hooked in, through
> the finalizing() function?  Would help to see the rest of the code.
>
> -Fred
>
> On Thu, Jun 26, 2008 at 2:34 PM, Chris S <[EMAIL PROTECTED]> wrote:
>
> > That didn't work - thanks for the suggestion though.
>
> > On Jun 26, 1:58 pm, "Edward Grant" <[EMAIL PROTECTED]> wrote:
> > > > I have the following code inside a form that submits via XHR:
>
> > > > <button id="finalize_button" type="submit"
> > > > onclick="finalizing();">Finalize Order</button>
>
> --
> Science answers questions; philosophy questions answers.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to