表单提交到不同页面和域上的iframe

时间:2016-02-15 06:14:53

标签: javascript php jquery html iframe

我正在尝试将表单填入一个页面,并使用该表单的结果来影响另一页面上的iframe。 iframe内容不在同一个域中。

表单位于 PAGE A
http://songbee.me/hosting/healthquotepro/

<form action="./quotes.html" target="quotes" method="POST" name="zips">
<input type="text" name="zip_code" placeholder="ZIP code" maxlength="5">
<button type="submit">See Plans</button>
</form> 

我正在尝试让表单在 PAGE B上填写此iframe的“邮政编码”区域 http://songbee.me/hosting/healthquotepro/quotes.html

<iframe style='border: 0; width: 100%; height: 100%' src='https://www.healthsherpa.com?_agent_id=scott-freeman'></iframe>

现在,提交表单时没有任何操作。

0 个答案:

没有答案
相关问题