Take a look at that exact same question already posted today!
On 6/7/07, Bhaskar <bhaskar.undi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> I am facing a strange problem with form submition when my form
> contains multipart data like <input type="file">.
> I am trying to submit the form through the following code
>
> new Ajax.Request(url,{method:''post'',
> parameters: $(formId).serialize(true),
> contentType:''multipart/form-data'',
> onSuccess: function(transport)
> { window.location.reload();},onFailure:failure});
> its not working.
>
> Can you please suggest me the any better ways to solve my problem.
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---