JQuery Append To Dynamically Created Element
<p>I am dynamically appending a <code>div</code> element to an existing <code>div</code>.  But immediately following that, I need to append another <code>div</code> to the <code>div</code> I just created dynamically.  But I can't seem to find the dynamically created <code>div</code> in order to append to it.  I assume maybe the DOM isn't aware of that <code>div</code> yet since I just made it.  How do I do this?</p>

<pre><code>var serialModel = "Test Test";
$("#existingDiv").append("&lt;div id = '" + serialModel + "'&gt;&lt;/div&gt;");
$("#" + serialModel).append("&lt;div&gt;content here&lt;/div&gt;")
</code></pre>

<p>The last line doesn't do anything.  The second line produces the new div, but then I can't find it to append to it.</p>
