javascript using a div created in script with plugin
<p>I have created a div using jquery and put some text in it:</p>

<pre><code>        var newdiv=$('&lt;div id="content"&gt;').append('some text here');
        $("#wrapper").append(newdiv);
</code></pre>

<p>Now I am trying to use the plugin masonry on the div.</p>

<p>I have added the following just below the above that creates the div:</p>

<pre><code>$("#wrapper").masonry();
</code></pre>

<p>I have checked and jquery and masonry are loading correctly.</p>

<p>The new div called content shows in firebug correctly, but the masonry part is not doing anything to the new "content" div.</p>

<p>Any ideas?</p>
