Is there a JQuery built-in function or an easy way to get the time an AJAX request has taken to receive a server respon开发者_开发知识库se? it might be a bit tricky that all my AJAX requests are asynchronous, for example there could be a second request sent by the client under way before receiving a first request response therefore a unique identification for each request is needed.
Thanks.
You can use Firebug on firefox or the Inspector in Chrome
Try jQuery.ajaxStart() and jQuery.ajaxComplete() functions to record the time to get response from server.
精彩评论