2

我们的代码如下所示:

var result = window.showModalDialog("somepage.jsp?argument1=abc", 
                                     dialogArguments, 
                                     otherArgs);
if (result ...

我想通过argument1POST因为它包含敏感信息。

是否可以打开一个模态对话框并将参数传递给它POST?如何?

4

1 回答 1

0

There is no way for window.showModalDialog to use POST innately. You can, however, work around it by having it submit a form.

http://social.msdn.microsoft.com/Forums/en-us/iewebdevelopment/thread/126fcea8-c28b-49ce-ad49-65884ffabeb6

Alternatively, there are many other methods of doing a similar thing.

于 2012-06-18T11:26:16.697 回答