به کد زیر توجه کنید :

کد HTML:
<div class="image_center">

</div>


var d= '<p class="close_image">حذف</p>';


$('.image_center').append(d);
تگ p رو به المان image_center اضافه کردن .

حالا میخوام بعد از append کردن , تگ p رو سلکت کنم . هر کاری میکنم کار نمیکنه .

کد HTML:
$('.image_center').on('click',function () {
    alert('s');
});