title: Fine Uploader working in every browser except IE
body: <p>I'll post my Javascript below. It works perfectly for all browsers but not at all in IE 8 or IE 9. No errors, it just doesn't work.  I guess the good news is that I can tell exactly where it breaks (see below) but I don't know why or how to fix it.</p>
  
  <p>My HTML is simple. It's just a test page for a much larger project that I'm working on. I have 6 file input boxes in a simple form on the page. What I'm trying to do is to grab those input fields, discard any that are empty, and submit the files (pictures) one-by-one to the server. I know there are more elegant ways to send pictures but for the site I'm working on this is the best way to do it.</p>
  
  <p>I'm using the server-side PHP code provided with the software.  It's unchanged.</p>
  
  <p>I'll admit up front that I'm self-taught and Javascript is a weak point for me. I'm not an idiot but I'm new to Javascript.</p>
  
  <p>The code works flawlessly in all browsers except IE. The page loads, the document.ready() code runs and the Fine Uploader DIV is placed on the page. The problem comes when I hit the submit button. I tracked the problem down to the line</p>
  
  <pre><code>manualUploader.fineUploader('addFiles', current[0].files[0]);
  </code></pre>
  
  <p>For some reason running that line of code breaks my script, the submit goes on through without processing any of the rest of the code and completely ignores the 'return false;' statement that should prevent the submission. As far as I can tell, it doesn't throw any errors.  Why would IE treat that code any differently than all of the other browsers? Any help would be appreciated. </p>
  
  <pre><code>    $(document).ready(function() {
          var numFiles = 0;
          var numUploaded = 0;
  
          var manualUploader = $('#sandbox').fineUploader({
              request: {
                  endpoint: '../../Processing/ajax_uploader.php'
              },
              autoUpload: false,
              debug: true,
              maxConnections: 1
          }).on('complete', function(event, id, name, responseJSON){
                  numUploaded++;              
                  var tempField = $('#' + 'pic' + (id + 1)).parent();
                  tempField = tempField.parent();
                  tempField.remove();
                  $('#frmNewProperty').append('&lt;input type="hidden" name="hiddenPic' + id + '" value="' + name + '" /&gt;');
                  if (numUploaded == numFiles){
                      $('form#frmNewProperty').submit();
                  }
          });         
  
      $('#subButton').click(function() {
          var fields = $('.fileBox');
          $.each(fields, function(){
              var current = $(this).find('.outgoing');
              var dat = current.val();
              if (dat != ''){
                  manualUploader.fineUploader('addFiles', current[0].files[0]);
                  numFiles++;
              }
          });
          manualUploader.fineUploader('uploadStoredFiles');   
          return false;
      });
  });
  </code></pre>