live click event of an image is not supported in ie6
- by Mohan Ram
I am retriving this content from ajax
<div id="content">
click on image to close<img id="img_id">
</div>
jQuery code to close div:
$("#img_id").live('click',function(){
$("#content").slideUp('fast');
});
Once I click on image div closes. But in IE6 nothing happens. I don't know why IE6 doesn't take live click event, or if the problem is with image id.
Once image clicked (live click event not triggered in IE6) What would be the reason?