Ajax can't handle encoding files within multipart/form-data. The easy way out is to target the form to a hidden iframe.
On Jun 11, 9:55 am, Ari Zanuto <[EMAIL PROTECTED]> wrote: > Hi, > I`m new for here. Im trying to use prototype in my administration > console, but, i need to upload 2 files, my server application requires > that form be encoded using multipart/form-data, how can i do this > using prototype? (i can' submit the form, because the page cannot be > refreshed) > > Best Regards, > Ari Zanuto --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---