function OnIframeContentLoads(){
$("#iframe")
.contents()
.find(".text")
.live({
click: OpenSingleImageEditor,
mouseover: function () { HighLight(this) },
mouseout: function () { OffLight(this);}
});
}
when i am binding event with .bind() its works but with live() like in above code it not works .Whats the problem here?
That’s a known problem with
.live, use.oninsteadFrom the docs