Javascript 在IE 9及以上版本中未触发过载事件

Javascript 在IE 9及以上版本中未触发过载事件,javascript,jquery,internet-explorer,Javascript,Jquery,Internet Explorer,在IE 9及以上版本中未触发onload事件 $(document).ready(function(){ var popup = window.open('mypopup.html', 'bl', 'scrollbars=yes,location=no,toolbar=no,status=no,width=720,height=1000,left=300,top=50'); var htmlToPrint = $('#thank_view').clone();

在IE 9及以上版本中未触发onload事件

$(document).ready(function(){

        var popup = window.open('mypopup.html', 'bl', 'scrollbars=yes,location=no,toolbar=no,status=no,width=720,height=1000,left=300,top=50');
        var htmlToPrint = $('#thank_view').clone();
        htmlToPrint = htmlToPrint.html();

        popup.onload =function(){
            alert("ONLOAD WORKING");
            $("#appended", popup.document).append( htmlToPrint );
        }
});
我也试过了

  $(popup).on("load", function(){
        $("#appended", popup.document).append( htmlToPrint );
    });
除IE9及以上版本外,上述所有方法均适用于所有浏览器。
对于较新的IE浏览器,有没有办法解决这个问题

加载事件是否未触发?或者HTML没有附加?可能在调用
.open()
时,
load
会立即激发。在附加处理程序后手动触发它是否有效?可能存在X-Y问题,$(文档)。准备工作正常从我看到的情况来看,加载事件被忽略。blgt你的意思是手动发射。