fatherpage 相关的软件列表

首页

Javascript 两个窗体之间传值实现代码

2020-02-16 标签:javascript,窗体,之间,实现,代码,如我,新建,fatherpage,htm,xml,code,如下,script,type,text,function,window

如我们新建窗体FatherPage.htm: XML-Code: 实现代码如下: function OpenChildWindow() { window.open('ChildPage.htm'); } 然后在ChildPage.htm中即可通过window.opener来访问父窗体中的元素: