onload for div tag
<p>I have div tag, after some event, I insert (change old content) into this tag, several images and also texts, for example:</p>

<pre><code>    $("#some_button").on("click", function () {
        $("#mydiv").html("&lt;div&gt;aaaa&lt;/div&gt;&lt;img src='1.jpg'&gt;&lt;div&gt;bbb&lt;/div&gt;&lt;img src='2.jpg'&gt;");
    });
</code></pre>

<p>I want, that after load "mydiv" tag full content, alert("mydiv contonet is loaded"). That is,  some like this:</p>

<pre><code>$("#mydiv").onload( function () {
     alert("mydiv contonet is loaded");
});
</code></pre>

<p>Tell please, how can this make?</p>
