title: input type="file" .submit() not working IE8
body: <p>been driving me insane this has.  Works with everything, except... IE8 :(  File selection appears (non-images are not filtered out IE8, but that's another issue), but when you select the image the upload script is not fired, nothing gets uploaded.</p>
  
  <p>The $("body").addClass("loading"); is fired (this is the loading modal), so I have no idea when the image-upload.php is not run.</p>
  
  <p>Thanks folks :)</p>
  
  <p>Javascript:</p>
  
  <pre><code>var wrapper = $('&lt;div/&gt;').css({height:0,width:0,'overflow':'hidden'});
  var fileInput = $('#file').wrap(wrapper);
  
  $('.chooseFile').click(function(){
   fileInput.click();
  }).show();
  
  $(document).ready(function() {
   fileInput.change(function () 
    { 
     $("body").addClass("loading");
     //uploadImg.submit();
     $('#uploadImg').submit();
     this.blur();
     this.focus();
    });
  });
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;form name="uploadImg" id="uploadImg" action="image-upload.php" method="post" enctype="multipart/form-data" class="btnFile"&gt;
   &lt;div class="chooseFile"&gt;Choose File&lt;/div&gt;
   &lt;input type="file" id="file" name="file" value="Select File to Upload" accept="image/*"&gt;
  &lt;/form&gt;
  </code></pre>