form
form copied to clipboard
uploadProgress function not working in Microsoft Edge
This just started recently, probably after an update to either Edge or Windows 10.
The uploadProgress function is not triggering until the upload is complete. It works fine in Chrome, Firefox and Internet Explorer. I've just downloaded the latest version of jquery.form.js and the issue is the same.
uploadProgress: function (event, position, total, percentComplete) {
if (running === false) {
running = true;
parent.postMessage("status|running","*");
}
var percentValue = percentComplete + '%';
bar.width(percentValue);
bar.html(percentValue);
},
Instructions for Reporting a Bug What are the specific version numbers of the Form plugin, jQuery library, Edge browser, and Windows you're using? Please include a link to a JSFiddle or CodePen example of the error so that others can reproduce the issue you're seeing.
Closing due to lack of information.
@kevindb same problem here (The uploadProgress function is not triggering until the upload is complete) on edge version > 25
Example: http://hayageek.com/docs/jquery-upload-file.php#single
@codex-corp, I don't see an actual example of the problem at the link you provided. A reproducible/verifiable example is important in order to be able to debug. JSFiddle and CodePen are particularly helpful, because others can execute the example you've set up. https://stackoverflow.com/help/mcve
@kevindb
http://jsfiddle.net/uKvE2/
any update?
I haven’t heard anything.
I'm afraid I don't know. I, personally, have never used the upload feature. Perhaps somebody from the community can answer.
jQuery (v 1, 2 or 3), jQuery Form (I tested under 4.2.1 and 4.2.2), and Microsoft Edge (tried version 16).
Problem: jQuery Form's uploadProgress method only triggers when the upload is completed.
Perfect example. This should give anyone there all the info they need.
Still a problem in the latest edge update (version 17)
http://jsfiddle.net/pthoty2e/ and https://stackoverflow.com/questions/43942396/ajax-file-upload-progress-upload-event-does-not-fire-in-edge-browser
I have added the "help wanted" label to this issue. I, personally, have never used the file upload feature, so I'm not at all familiar with it. I'm hoping someone from the community, ideally someone on this thread who is encountering this problem, will submit a pull request to resolve the issue. I am very open and responsive to pull requests.
Still reproducing