On Mar 24, 1:08 pm, Kad Kerforn <[email protected]>
wrote:
> In a Facebox window (running well with an html form) , I have now an
> Ajax form written
>
> <form class="tabular" onsubmit="new
> Ajax.Request('/intranet-dev/welcome/infos_send',
> {asynchronous:true, evalScripts:true, parameters:Form.serialize(this)});
> return false;"
> method="post" action="/intranet-dev/welcome/infos_send">
> ..
> </form>
>
One possibility is that if the javascript in your onsubmit raises an
exception then the browser falls back to normal form submission (eg if
you don't have the prototype javascript library loaded)
Fred
> but when submitted , the request.xhr? => false
>
> what could be wrong ? what did I miss ?
>
> thanks for any enlightenment
>
> erwin von breizh
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---