title: JavaScript: ajaxSubmit error
body: <p>I have the following JS function triggered by a button:</p>
  
  <pre><code>function uploadPicture( ) {
      $("form#pictureUpload").ajaxSubmit({
          data: $("form#pictureform").serialize(),
          type: 'post',
          url: '?action=loadpicture',
          success: function(response) {
              $('#div-pictures').html(response);
          }
      }); 
  </code></pre>
  
  <p>}</p>
  
  <p>This worked perfectly fine for several months. But it stopped working today in Firefox, Safari, Chrome and Opera - although it still works correctly in Internet Explorer.</p>
  
  <p>Safari gives me the following mysterious error:</p>
  
  <pre><code>    Failed to load resource: cancelled       ?action=loadpicture
  </code></pre>
  
  <p>Chrome outputs almost the same (without <code>: cancelled</code>). Opera and Firefox show no error at all. The only additional information is that the errors above occur after the file upload is finished and although the server generates an HTML output as feedback which is ignored by the browsers.</p>
  
  <p>Please let me know if you have any idea how to fix this. I've been running in circles for hours without even coming close to a solution - I simply see no errors in the code nor in the log files. Many thanks!</p>