Kad Kerforn wrote: > Frederick Cheung wrote: >> On Mar 24, 1:08�pm, Kad Kerforn <[email protected]> >> wrote: >>> >> 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 > > Thanks Frederick, good shot... I forgot to read the Firebug console .. > when submitting the form... > > Error : $(form).getElementsByTagName is not a function > Source File : > http://aelmat.local/intranet-dev/javascripts/prototype.js?1231845708 > Line : 3418 > > I am also using jquery yo display a facebox in which the form is > displayed... I don't think there is any problem in using both libraries > ...
I looked into the facebox div in the source code, I remember reading comments about having ajax form IN a table... could it be the point ? I attached the facebox div code Attachments: http://www.ruby-forum.com/attachment/3483/facebox_div.txt -- Posted via http://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 -~----------~----~----~----~------~----~------~--~---

