开发者

Timer for ajax requests

I'm running a few ajax requests and I want to time them.

How can I get the number of seco开发者_如何学Gonds elapsed since the 1st request?


Create a Date object when you set the first one. Create a new one whenever you want to have a point to compare to that start time. Then compare them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜