mike1313 Posted November 29, 2007 Share Posted November 29, 2007 If I have an iframe embedded into the page and a form on the main page how would I submit the form to the iframe? Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted November 30, 2007 Share Posted November 30, 2007 do this: <iframe name="myFrame" src="http://www.google.com" width="400" height="300" frameborder="0"></iframe> <br><br> <form action="YourPageNameHere.php" target="myFrame" method="post"> Email: <input type="text" name="email"> <input type="submit" value="Send"> </form> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.