Append element problem
<p>I am creating some elements and appending it, and its working fine but when I want to call any function or want to call any jquery that not work, but when i put that elements directly instead of appending then it works properly. In all to say that appending element does not call any function or anything.</p>

<p>JQUERY CODE:</p>

<pre>
var cart_content = jQuery($.create('li', {}, [])).append($.create('span',{}, [av_title]),$.create('img', {"src":"images/delete_icon.png", "class":"cart_content", "alt":"delete", "title":"Delete"}, []));
$(".advertise_cart").append(cart_content);


$(".cart_content").click(function(){    alert("Hello"); });
</pre>

<pre><code>&lt;ul class="advertise_cart" id="advertise_cart_id"&gt;
   &lt;li&gt;
        &lt;span&gt;Inner Content 1&lt;/span&gt;
        &lt;img src="images/delete_icon.png" class="cart_content" alt="delete" title="Delete"&gt;    &lt;!------ On clicking on this will show alert box, but on clicking on appended element will not call alert box or anything -----&gt;
    &lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>Thanks in advance</p>
