Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>After many hours, I've finally tracked down the issue.</p> <p>First, you need to use the transport plugin that comes <a href="https://github.com/blueimp/jQuery-File-Upload/blob/master/js/jquery.iframe-transport.js">bundled with jQuery-file-upload</a> because it was made for it ;) I'm not quite sure why the other one got a step further, but I'll get to that in a minute.</p> <p>I noticed in IE that I was getting an "access is denied" JavaScript error somewhere in the core jquery library. From what I read online this usually happens when you try to submit to a URL at a different domain, which I wasn't doing, so I dismissed it.</p> <p>I was comparing what the 2 different transport scripts did differently, when I came to a line that said <code>form.submit()</code> in one version, and <code>form[0].submit()</code> in the other. So I tried adding the <code>[0]</code> and then noticed the "access has denied" error changed to point to that line. So clearly, it didn't like where I was submitting the files to.</p> <p>I double checked the <code>form.action</code> and the URL still looked fine. Through some <a href="https://github.com/blueimp/jQuery-File-Upload/issues/999">Google-fu</a> I discovered that you can also get this error if the event does not originate from the original/native file input element.</p> <p>I had replaced the native input with a fancy one and then triggered a "fake" 'click' event on the hidden native input. This it didn't like.</p> <p>Took out my fake upload button and plopped the native one (<code>&lt;input type="file"/&gt;</code> fyi) back in, and now everything works like a charm in all browsers. Huzzah!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload