title: FormData in IE 11 not defined
body: <p>I have the following script to get the file data from a input type of file:</p>
  
  <pre><code>var uploadfiles = $("#upFile").get(0);
  var uploadedfiles = uploadfiles.files;
  
  var fromdata = new FormData();
  for (var i = 0; i &lt; uploadedfiles.length; i++) {
      fromdata.append(uploadedfiles[i].name, uploadedfiles[i]);
  }
  
  // ajax code omitted that uploads file
  </code></pre>
  
  <p>This works great in all browsers I have tested with, except IE 11.  In this it doesn't understand what FormData() is?? I have read quite a few different workarounds online now but NONE of them work, whatever I try nothing is able to get the details of the file from the input.  Has anyone else had this that can help?  Even if I try using jQuery to get the object then the 'files' is undefined for some reason.</p>
  
  <p>EDIT: Reading more online, it seems it could be because IE doesn't give access to the input until the form has been submitted, however I am using ajax to upload the file so I can't really submit it.</p>
  
  <p>EDIT2: I should also mention that this code is called on the change event of the file input, not sure if it has any relevance but best to mention it</p>