来自iframe的访问模式对话框未包含在模态对话框中? VBScript中

时间:2013-07-17 11:07:54

标签: iframe vbscript submit modal-dialog

我有一个与ShowModalDialog一起显示的模态对话框,其中有一个表单提交到模式对话框之外的iframe。我想在提交完成后关闭模式对话框。问题是我无法从我提交的页面上window_onload访问模态对话框。

模态对话框中的

form.method = "POST"
form.target = "myiframe"
form.action = "save.asp"
form.submit  

在save.asp中

sub window_onload
    'Do stuff
    Here i want to tell the modal dialog to close itself
end sub

这可能吗?

0 个答案:

没有答案
相关问题