如何在Ajax中从任何Api获取数据时计算获取时间
I just want to show the amount of data fetched from Api.
output should be like 10% fetched 90 % remaining like that.
I'm searching how should I calculate the amount the amount retreived and remaning data left to be fetched.
- I have been working on basecamp api It would waste lots of time to fetch tasks , activities etc. So just want that I want to show time left while fetching in Ajax .
I have googled and found a link: Monitoring_progress but if any body could suggest to me where to start I would much appreciate.
dongnai8013
2014/04/22 10:28- php
- ajax
- javascript
- 点赞
- 收藏
- 回答
满意答案
1个回复
