22问答网
所有问题
用windowshowModalDialog打开窗体之后如何关闭?
如题所述
举报该问题
推荐答案 2022-11-17
1.showModalDialog打开的窗口想访问父窗口的数据的话代码window.showModalDialog("filename.htm",window)\x0d\x0a在子窗体中用window.dialogArguments得到就是你的父窗体对象,这样就能访问到父窗体数据了.\x0d\x0a2.在子窗体应用的文件的head区之间添加代码
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://22.wendadaohang.com/zd/C0CfXX6Ih2XTfCCTh2T.html
相似回答
用window
.
showModalDialog打开窗体如何关闭
答:
1.
showModalDialog打开
的窗口想访问父窗口的数据的话代码window.showModalDialog("filename.htm",window)在子
窗体
中
用window
.dialogArguments得到就是你的父窗体对象,这样就能访问到父窗体数据了.2.在子窗体应用的文件的head区之间添加代码
关闭showModalDialog打开
的窗口,原来的页面无刷新
答:
主
窗体
中
打开
模态窗体的JS代码: 通过它的返回值手动刷新主窗体 function openWin(n){ var returnValue=
window
.
showModalDialog
('bianji.aspx?id='+n+'','','scrollbars=no;resizable=no;help=no;status=no;dialogHeight=500px;dialogwidth=700px;center=yes');if (returnValue==1){ window.location...
大家正在搜
vs开发window窗体应用程序
vscode做windows窗体
windows窗体应用程序实例
window窗体checkbox
winform怎么关闭窗体
winform关闭指定窗体
winform关闭窗体事件
winform窗体关闭按钮事件
js的窗体window