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/

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