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 [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-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---