1
私はコードてきた ウィンドウが
IE11
で働いているnewWindow.addEventListener(真の「負荷」、コールバック、)のためにIEで「オブジェクトがプロパティまたはメソッドをサポートしていません」スロー新しいウィンドウを開き、loadイベントの新しいウィンドウにeventListenerを追加します。var newWindow = window.open(someURL, ..., ...);
newWindow.addEventListener('load', callback, true);
// when IE11 executes this line, it throws error "object doesn't support property or method".
問題の行にデバッガを開くと、newWindowオブジェクトにメソッドのリストにaddEventListenerメソッドがリストされます。
は、誰かが助言やIE11での動作のために考えられる理由を説明することができます。
いくつかの研究 - newWindowでは、親ウィンドウの要素でappendChildを使用できないという問題がありました。 appendChild not working with window.open in IE
は、同じようなことが問題になることはできますか?
'newWindow.onloadは=機能(み){..};ここで' – d3vi4nt
その他の言及:http://stackoverflow.com/questions/3030859/ – d3vi4nt
ここ尖った:http://stackoverflow.com/questions/25098021/ – d3vi4nt