SO fiddle
Test Fiddle mainly for SO Questions
by Nick Craver
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/overcast/jquery-ui.css">
<div>
Test, hover here, move out quickly and the onload won't fire.
</div>
CSS
div { border: solid 1px #ddd; }
JavaScript
var imggg
$("div").hover(function(){
imggg = new Image(140,100);
imggg.onload = function(){ $(document.body).append(this); };
imggg.src = "http://dummyimage.com/600x400/000/fff?v=" + new Date().getTime();
},function(){
imggg.onload = null;
});