jQuery的加载进度条 [英] jQuery Load Progress Bar

查看:121
本文介绍了jQuery的加载进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我敢肯定,这个问题已经被问过,但通过相关问题在这里搜索以及一些谷歌搜索后...我来到了空。

So, I'm sure this question HAS to have been asked, but after searching through the 'Related Questions' here as well as several Google searches...I have come up empty.

我只是想实现一个真正的bytes_loaded / bytes_total类型的jQuery的,甚至传统的js进度条。这是在AS3天:)那么容易......但当然闪存来与它的缺点。我真正需要知道的是如何计算加载当前字节数和任何下载时总字节数。计算上传字节将是甜的了。任何人有另一种贴出的问题指导我?或者有这方面的知识?谢谢你们。

I'm simply trying to implement a true bytes_loaded/bytes_total type of progress bar in jQuery or even traditional Js. This was so easy in the AS3 days :) ...but of course Flash comes with it's drawbacks. All I really need to know is how to calculate the current bytes loaded and bytes total during any download. Calculating the uploaded bytes would be sweet too. Anyone have another posted question to direct me to? Or have knowledge of the subject? Thanks guys.

推荐答案

目前在<一个一个Q / A href="http://stackoverflow.com/questions/2732087/update-jquery-progressbar-with-json-response-in-an-ajax-request">progress酒吧的长期的过程在服务器报告。还检查了<一href="http://markmail.org/message/kmrpk7w3h56tidxs#query%3ajquery%20ajax%20download%20progress+page:1+mid%3akmrpk7w3h56tidxs+state%3aresults"相对=nofollow>如何让AJAX下载进度在每一个浏览器,但IE 。

There is a Q/A on progress bars for long process reporting on the server. Also check out how to get AJAX download progress in every browser but IE.

这篇关于jQuery的加载进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆