Accessing jQuery created element's child(ren)
<p>I create an element in jQuery</p>

<pre><code>var select = $('&lt;ul /&gt;');
</code></pre>

<p>I append li-s and a-s to it. Afterwards I want to access created element's child, let's say a link.</p>

<p>I cannot do select.find('a'). How can I access it?</p>

<p>I dont want to append select first and than use it's class or id to look for it in HTML, I need to do it before I append element to HTML.</p>

<p>Thanks! </p>

<p>EDIT: Always check your element AFTER you have created them :P Thank you, problem solved. I wasted 2 hrs to understand what i do wrong, now when I tried to copy you the code, i found the mistake. Thanks you :D</p>
