Hi,
I have a div which pops out on mouse over and i am inserting some content using html(). And i want to some part of code to be remain without manipulation.
<div id="pop_div" ><span>X</span></div>
$("#team_div > ul img").bind('mouseenter',function(){
$("#pop_div").html('<img src="' + img + '"/>' + content );
});
and onclick i am hiding div.
$('#pop_div span').click(function(){
$("#pop_div").hide();
});
My problem is, i cant use code below because jquery doesn't assign any event for that tag
$("#pop_div").html('<span>X</span><img src="' + img + '"/>' + content );
(i cant use livequery plugin)
i appreciate your comments.