Javacscript: Calculating the time required to retrieve data
<p>I use jQuery to POST data to a page, and to get data back. How would I calculate the time it took from POSTing to the page, and receiving the data?</p>

<p>I use jQuery.post, and here is an code example:</p>

<pre><code>$.post("test.php", function(data) {
   //do something with data
 });
</code></pre>
