在对话框里这一句话执行不了,怎么回事,如何解决
alert(top.document.title);//正确
alert(document.title);//正确
top.document.title=window.document.title;//没报错,也没见执行效果
注:
用window.showModuleDialog("a.htm");
a.htm里有一段代码:
<iframe src="b.htm" width=100% height=100% id=dialogIframe></iframe>
b.htm里顶上的三句话