access jquery element after append function
<p>I use append function in order do add some div into another element</p>

<pre><code>('#test-append').append("&lt;div class='new_div'&gt;&lt;b&gt;some text&lt;/b&gt;&lt;/div&gt;")
</code></pre>

<p>everything is going fine and I can see the added div,`but I also need after that to access the div selector in order to do something with this div for example to hide it
so i use the folowing</p>

<pre><code>$('.new_div').click(function(){
            do somthing here
        });
</code></pre>

<p>but it is not working even if I just use simple alert('hi') call. It seems like jquery doesn't recognize the append class (I also tried it with Id and I get the same result)</p>

<p>I will appreciate some help on this issue</p>

<p>Thanks</p>
