jquery, wait for completed
<p>how to run the second function only when the first will be completed in?</p>

<pre><code>$(document).ready(function() {
 $("#first").load("first.php?id="+ Math.random());
 $("#second").load("second.php?id="+ Math.random());
});
</code></pre>
