0

I am revising code that uses XMLHttpRequest for a file upload. I have just learned that this is a v2 feature and unavailable in IE9. If I swap the ajax call out to jQuery, as discussed in the question, How to send FormData objects with Ajax-requests in jQuery?, do I have any hope of this working from IE9?

Community
  • 1
  • 1
ProfK
  • 49,207
  • 121
  • 399
  • 775
  • Did you try if it worked? is there a specific Problem? How does the code look like? – winner_joiner Dec 12 '14 at 05:37
  • I'm not asking about it working for me - I'm asking about standards compliance - and having confidence that it will always work, on any machine, in anyone's IE9. – ProfK Dec 12 '14 at 05:42
  • possible duplicate of [jQuery Ajax File Upload](http://stackoverflow.com/questions/2320069/jquery-ajax-file-upload) – winner_joiner Dec 12 '14 at 08:57
  • check this **[Question](http://stackoverflow.com/questions/2320069/jquery-ajax-file-upload)** and the Answer with the comment about IE < 10. In short **No**. – winner_joiner Dec 12 '14 at 08:59

1 Answers1

0

I am using this library at work for fileupload via ajax: https://github.com/blueimp/jquery-file-upload. It is working nicely with IE 9, it can even support CORS if you use a redirect frame.

  • Google Chrome
  • Apple Safari 4.0+
  • Mozilla Firefox 3.0+
  • Opera 11.0+
  • Microsoft Internet Explorer 6.0+

It also support the formData you are talking about i think:

https://github.com/blueimp/jQuery-File-Upload/wiki/Options#formdata

Typpex
  • 488
  • 4
  • 11
  • I'll check the library thanks, but it doesn't help me that is supports FormData, as IE 9 doesn't. I just have to get around needing FormData. – ProfK Dec 12 '14 at 09:54
  • in my case the plugin does not work for multiple file select in IE9 under Windows7 – basZero May 22 '17 at 11:03