Wait while jQuery.html() is fully loaded?
<p>in jQuery I load some html into a div like this:</p>

<pre><code>$("#test").html("Hello &lt;img src='pic.jpg'&gt;");
</code></pre>

<p><strong>Is there a way to know if the html is fully loaded?</strong>
I mean i set the content, but the image needs a while to load.. I would like to wait until the whole html is loaded...</p>

<p>I could use $("img").load(... but it doesn't work for content loaded by $.html
Any other ideas?</p>

<p>Thanks</p>
