title: Javascript drag&drop wont work on Firefox and IE
body: <p>Ive made a simple drag n drop feature in Javascript. It work very well but only on Opera, Safari or Chrome. But in Firefox and IE it wont. Please can anyone help me?</p>
  
  <p>The main thing is that I need to assign the dropped file to a File Input.</p>
  
  <p>The source code:</p>
  
  <pre><code>var file_drop = document.getElementById('...');
  
  
  var dOver = function(evt) {
  evt.stopPropagation();
  evt.preventDefault();
  evt.dataTransfer.dropEffect = 'copy';
  }
  
  var dEnd = function(evt) {
  ...
  }
  
  var dLeave = function(evt) {
  ...
  }
  
  var dDrop = function(evt) {
  evt.stopPropagation();
  evt.preventDefault();
  temp_file = evt.dataTransfer.files;
  document.getElementById('file-select').files = temp_file;
  }
  
  file_drop.addEventListener('dragover', dOver, false);
  file_drop.addEventListener('dragend', dEnd, false);
  file_drop.addEventListener('dragleave', dLeave, false);
  file_drop.addEventListener('drop', dDrop, false);
  </code></pre>
  
  <hr>
  
  <p>Anyone can help me? What do I wrong? :/</p>