Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用$.ajax()从同一服务器上的文件加载内容,我想计算加载内容需要多长时间。例如,访问者单击链接并启动计时器。当页面完全加载后,计时器停止并返回结果。
$.ajax()
我怎样才能做到这一点?