title: What is loading first in this script?
body: <p>In terms of loading order, what is happening in this script?  Does the divLoading div tag finish loading before the jquery libraries finish loading?  And, do the libraries start loading before the divLoading div tag is created on the users screen?</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
      &lt;head&gt;
          &lt;title&gt;&lt;/title&gt;
          &lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
          &lt;div id="divLoading"&gt;loading...&lt;/div&gt;
          &lt;img src="http://goes.gsfc.nasa.gov/pub/goes/060619_fulldisk_color.jpg" /&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>