title: HTML5 file upload fails in IE9
body: <p>Following code works fine in Chrome, but fails in IE9 - in <code>processFiles()</code> when we retrieve selected files <code>e.target.files</code> is <code>null</code></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;header&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=8" /&gt;
  &lt;/header&gt;
  &lt;body&gt;
      &lt;input type="file" id="uploader"/&gt;
  
      &lt;script&gt;        
          var uploader = document.getElementById ("uploader");
          if (uploader.addEventListener) {  // all browsers except IE before version 9
              uploader.addEventListener ("change", processFiles, false);
          }
          else {
              if (uploader.attachEvent) {   // IE before version 9
                  uploader.attachEvent ("change", processFiles);
              }
          }       
  
          function processFiles(e)
          {
  
              var files = e.target.files || e.dataTransfer.files;
  
              for (var i = 0 ; i &lt; files.length ; i ++)
              {
                  window.console &amp;&amp; console.log &amp;&amp; console.log(files[i].name);
              }           
          }       
      &lt;/script&gt;   
  &lt;body&gt;
  </code></pre>
  
  <p>Any ideas?</p>