var iframeContent = $("#<%= iframeID %>").contents();
iframeContent.off("mouseover", "#divImgSize").on("mouseover","#divImgSize", function() {
//some code
});
此功能工作正常,但
iframeContent.off("mouseout", "#divImgSize").on("mouseout", "#divImgSize", function(event) {
//some code
});
或者
iframeContent.off("mouseleave ", "#divImgSize").on("mouseleave ", "#divImgSize", function(event) {
//some code
});
在 Firefox、Chrome 中工作,但不能在 Internet Explorer 中工作。