如何使用HTTP POST请求将参数发送到Iframe

问题描述:

我必须用POST方法发送一些参数给IFRAME。
我在这里阅读过设置&lt的HTTP请求类型; iframe> ,这是不可能的。我想在Javascript中的解决方案,但我不能实现它,所以我不能测试它是否是这个问题的有效解决方案。
我想问一下,如果有人有同样的问题,如果有可能解决,并在积极情况下如何?

I have to send some parameter to an IFRAME with POST method. I have read here Setting the HTTP request type of an <iframe> that it isn't possible. I'm thinking a solution in Javascript but I can't implement it so I can't test if it is a valid solution for this issue. I want to ask if someone has the same problem and if it is possible to solve and in positive case how to?

<form ... target="hidden_iframe">
...
</form>

<iframe name="hidden_iframe" ...></iframe>