top.document.getElementById在模态窗口中的使用

来源:互联网 发布:大人学认字软件 编辑:程序博客网 时间:2024/05/21 02:34

普通页面中top.document.getElementById是对最上层窗口的引用~

 

但模态窗口中使用想要获取最上层窗口的引用就需要改写为:window.dialogArguments.top.document.getElementById~

原创粉丝点击