show loading message while content loads
<p>I know the following code would show a loading image when a button is clicked on the page:</p>

<pre><code>   $.ajaxSetup ({  
         cache: false  
     });  
     var ajax_load = "&lt;img src='img/load.gif' alt='loading...' /&gt;";  


     var loadUrl = "ajax/load.php";  
     $("#load_basic").click(function(){  
         $("#result").html(ajax_load).load(loadUrl);  
     });
</code></pre>

<p>but what if I want this to happen soon as the page loads.  I dont want the user interaction of clicking a button to make the ajax call. </p>
