title: What triggers the jQuery ready() function?
body: <p>I'm really confused now, I thought <code>jQuery(document).ready(function(){ ... })</code> was triggered when the page ends to load all the stuff in.</p>
  
  <p>Well it doesn't look like that though, I was just experiencing : uploading large pictures in my page and add an alert to my ready function. It appears the alert is splashing before the images in the background has finished to be downloaded... Is it a way to wait that the communication between the agent user and the http webserver get down to call a ready function ? I mean I want to make visitors waiting with a big black div and 'loading' text in it until all the elements are outputted (and then release the div).</p>