There is a way to get a progress bar that interfaces with a jquery ajax?
I ask this because i followed this tutorial to build an ajax upload with jquery, and it would be useful to see the progress of the upload.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
jQuery UI has a progress bar built in; it’s very straightforward.
If jQuery UI isn’t your thing, you could go for a straight plugin like this one.
As for the process of determining how much of the file has been uploaded, that’s a whole bag of trouble 🙂
Here’s an implementation you can simply download and use, or pick apart for ideas. It employs APC, which shouldn’t be too hard to get up and working.
Here’s another SO thread showing how to do it with PHP and no external libs; looks very promising.