Is there a way to do the following solution in Internet Explorer? (IE7 and up)
link: Sending multipart/formdata with jQuery.ajax
The solution code works great in every browser but IE.
No, you can't use jQuery.ajax
to upload files and FormData
isn't supported by IE unfortunately.
Check out the Uploadify jQuery plugin to upload files via ajax. You can also use jQuery Form Plugin to upload files via ajax.
Unfortunately, IE doesn't support the FormData
API yet. However, you can achieve something similar using any number of jQuery AJAX form post plugins, such as this one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With