Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/vim/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript window.opener在IE8-9中不工作_Javascript_Window.opener_Showmodaldialog - Fatal编程技术网

Javascript window.opener在IE8-9中不工作

Javascript window.opener在IE8-9中不工作,javascript,window.opener,showmodaldialog,Javascript,Window.opener,Showmodaldialog,我看了这篇文章 它在Firefox和chrome中运行完美,但在IE8和IE9中出现错误 要打开我正在使用的子页面,请执行以下操作: window.showModalDialog('child.html','','width=550,height=170,left=150,top=200,toolbar=1,status=1,scrollbars=yes'); 它给了我以下错误: 请帮助。您可以尝试使用此代码 window.showModalDialog(child.html,'','una

我看了这篇文章

它在Firefox和chrome中运行完美,但在IE8和IE9中出现错误

要打开我正在使用的子页面,请执行以下操作:

window.showModalDialog('child.html','','width=550,height=170,left=150,top=200,toolbar=1,status=1,scrollbars=yes');
它给了我以下错误:


请帮助。

您可以尝试使用此代码

window.showModalDialog(child.html,'','unadorned:yes;resizable:1;
dialogHeight:170px;dialogwidth:550px;scroll:yes;status=yes');