title: FormData of element not working - Internet Explorer 10
body: <p>I am uploading files using <code>jQuery.ajax</code> and everything works perfect in modern browsers like Google Chrome, Mozilla Firefox, Opera, except of Internet Explorer 10.</p>
  
  <p><code>new FormData($('.uploadForm')[0])</code> doesnt work in IE10, but if I only try with this piece of code: <code>new FormData($('.uploadForm'))</code> it works...Looks like it does not accept elements at specific index or something? I dont understand this realy good, that is the reason, why I am searching for help.</p>
  
  <p>Does it exist any kind of workaround for this example for IE10?</p>
  
  <p>JS:</p>
  
  <pre><code>var form = new FormData($('.uploadForm')[0]);
  config.progressBar.progressWidth = 0;
  $('.uploadForm .valueBox').fadeOut('slow',function(){
      $(this).addClass('hidden')
      $('.meter').removeClass('hidden').width(config.progressBar.width);
      $.ajax({
          url: '../../uploads/some.php',
          type: 'POST',
          xhr: function() {
              var myXhr = $.ajaxSettings.xhr();
              if(myXhr.upload){
                  myXhr.upload.onprogress = progress;
              }
              return myXhr;
          },
          success: function (res) {
              console.log(res)
          },
          data: form,
          cache: false,
          contentType: false,
          processData: false
      });
  </code></pre>
  
  <p>Peace of <code>some.php</code> code:</p>
  
  <pre><code>foreach($_FILES["file"]["error"] as $key =&gt; $value) {
      if ($value == UPLOAD_ERR_OK){
  
          $name = $_FILES["file"]["name"][$key];
  
          $arr_files = getimagesize($_FILES["file"]["tmp_name"][$key]); 
          $width = $arr_files[0];
          $height = $arr_files[1];
          $mime = $arr_files['mime'];
  
          copy($_FILES['file']['tmp_name'][$key], '../uploads/upload/'.$name);
  
          echo json_encode($_FILES);
      }
  }
  </code></pre>
  
  <p>IE10 error thrown: <code>SCRIPT5: Access is denied.</code></p>