IE11 BUG caused by MS16-009 Security Update package - showModalDialog() does not return a value

关于IE11升级到11.0.37(KB3197655)后模态窗口参数传递无效问题 也就是window.returnValue 返回object对象是undefined   


有如下解决方案:

    选项1

      使用 

  • parent.window.returnValue  代替

    • window.returnValue

      选项2

       而不是写代码来关闭在iframe页面窗口调用父页面和从父关闭窗口:

  • parent.CloseParent("test’);        

  • 在父窗口中写代码:

    • function CloseParent(Returnvalue)
      {
      window.returnValue = Returnvalue;
      window.close();
      }

    转载:https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/6651041/

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章