<html><head><meta charset="UTF-8"></head><body><h1>This is indexHtml!</h1><button onclick="clickMe()">click Me!</button></body><script type="text/javascript"> function clickMe() { var paramObj = new Object(); paramObj.parentWin = "1111"; paramObj.showtype = "2222"; paramObj.definedate = "33333"; paramObj.valueColName = "5555"; paramObj.nowDate = "666666"; paramObj.oldEffDate = "77777"; var url = "./test.html"; var rtn = window.showModalDialog(url, paramObj); }</script></html>
<html><head><meta charset="UTF-8"><title>test</title></head><body><h2>This is testHtml!!</h2><button onclick="clickMe()">click Me!</button></body><script type="text/javascript"> window.onload = function() { var gParam = window.dialogArguments; alert(gParam); } function clickMe() { var paramObj = new Object(); paramObj.parentWin = "1111"; paramObj.showtype = "2222"; paramObj.definedate = "33333"; paramObj.valueColName = "5555"; paramObj.nowDate = "666666"; paramObj.oldEffDate = "77777"; var url = "./test2.html"; var rtn = window.showModalDialog(url, paramObj); }</script></html>
<html><head><meta charset="UTF-8"><title>test2</title></head><body><h2>This is test2Html!</h2></body><script type="text/javascript"> window.onload = function() { var aaa = window.dialogArguments; alert(aaa); }</script></html>
Codes above are index.html,test.html,test2.html;
When i run the 'index.html' in ie10,it runs correctly;
but in ie11,it throws undefined, why?
is something wrong with my ie11?
please Help!!!!!
thankyou!
----my email:victoryai@126.com