adding html into a div without id
<p>i'm trying to add some html code with javascript and jQuery into a div without an id, but with a class</p>

<p>i'm trying to have it done like this, but without success...</p>

<p>flie.js :</p>

<pre><code>$(".myClassName").ready(function(){
    $(this).innerHTML = "&lt;img src=\"http://mywebsite.com/img.png\" /&gt; &lt;span&gt;some text&lt;/span&gt;";
});
</code></pre>

<p>i'm loading the .js file with this html code</p>

<p>.html file :</p>

<pre><code>&lt;div class="myClassName"&gt;
&lt;/div&gt;
&lt;script&gt;
(function()
{
    if (window['ImportFlag'] == undefined || window['ImportFlag'] == void 0) {
        var myScript = document.createElement('script');
        myScript.type = 'text/javascript';
        myScript.src = 'file.js';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(myScript, s);}
    window['ImportFlag'] = 1;
})();
&lt;/script&gt;
</code></pre>
