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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
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 <zan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Possibly Parallel Threads
- RE: Form.serialize and Ajax.Request->fileserialization and encoding
- RE: Form.serialize and Ajax.Request -> fileserialization and encoding
- RE: Form.serialize and Ajax.Request ->fileserialization and encoding
- form_remote_tag with multipart/form-data
- Problem using form_remote_tag and multipart