live click event of an image is not supported in ie6
Posted
by
Mohan Ram
on Stack Overflow
See other posts from Stack Overflow
or by Mohan Ram
Published on 2010-12-30T10:22:18Z
Indexed on
2010/12/30
10:54 UTC
Read the original article
Hit count: 210
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?
© Stack Overflow or respective owner