我有一个contactus.html文件,其中包含一个iframe:<iframe name="myframe" id="frame1" src="contact_inputs.php"></iframe>,其中只包含contact_inputs.php中的三个输入框。
我想要通过iframe外部的按钮将iframe文件中的表单提交到php_form.php。
联系人.html
<iframe name="myframe" id="frame1" src="contact_inputs.php"></iframe> <form action="php_form.php" method="post"> <input type="submit" name="DoIt" value="submit"> </form>
contact_inputs.php
<form> <input type="" name="cn"> <input type="" name="ex"> <input type="" name="cr"> </form>
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号