Created
June 4, 2017 18:57
-
-
Save apphp/26702c965860255f5c35dac39e62d964 to your computer and use it in GitHub Desktop.
Post Data to iFrame with HTML Only
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// source: www.apphp.com/index.php?snippet=html-post-data-into-iframe | |
<form action="iframe.php" target="my_iframe" method="post"> | |
<label for="text">Name:</label> | |
<input type="text" name="full_name"> | |
<label for="text">Email:</label> | |
<input type="text" name="email"> | |
<input type="submit" value="post"> | |
</form> | |
<iframe name="my_iframe" src="iframe.php"></iframe> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment