title: Assign Javascript image object directly to page
body: <p>Is it possible to assign a Javascript image object directly to the DOM? Every example I've seen has the image object being loaded and then the same file name assigned to an HTML element and my understanding is that the actual image data is coming from the browser cache in the filing system.</p>
  
  <p>I want to guarantee that the image is loaded so I want to load it into a Javascript image object have the data in memory and then add it directly to the page.</p>
  
  <p>Is this possible?</p>
  
  <p>Cheers, Ian.</p>