Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery Upload Progress and AJAX file upload
    primarykey
    data
    text
    <p>It seems like I have not clearly communicated my problem. I need to send a file (using AJAX) and I need to get the upload progress of the file using the <a href="http://wiki.nginx.org/HttpUploadProgressModule" rel="noreferrer">Nginx HttpUploadProgressModule</a>. I need a good solution to this problem. I have tried with the jquery.uploadprogress plugin, but I am finding myself having to rewrite much of it to get it to work in all browsers and to send the file using AJAX. </p> <p>All I need is the code to do this and it needs to work in all major browsers (Chrome, Safari, FireFox, and IE). It would be even better If I could get a solution that will handle multiple file uploads.</p> <p><strike>I am using the <a href="https://github.com/drogus/jquery-upload-progress" rel="noreferrer">jquery.uploadprogress plugin</a> to get the upload progress of a file from the NginxHttpUploadProgressModule. This is inside an iframe for a facebook application. It works in firefox, but it fails in chrome/safari.</p> <p>When I open the console I get this.</p> <pre><code>Uncaught ReferenceError: progressFrame is not defined jquery.uploadprogress.js:80 </code></pre> <p>Any idea how I would fix that?</p> <p>I would like to also send the file using AJAX when it is completed. How would I implement that?</p> <p><strong>EDIT:</strong><br/> I need this soon and it is important so I am going to put a 100 point bounty on this question. The first person to answer it will receive the 100 points.</p> <p><strong>EDIT 2:</strong><br/> Jake33 helped me solve the first problem. First person to leave a response with how to send the file with ajax too will receive the 100 points.</strike></p>
    singulars
    1. This table or related slice is empty.
    plurals
    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