RE: [PHP] Submit Form Values To Parent
| From: | Jay Blanchard | Date: | Fri, 02 Dec 2005 15:38:39 +0000 |
| Subject: | RE: [PHP] Submit Form Values To Parent | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-226773@lists.php.net to get a copy of this message | ||
[snip]
I have made an example of this now. If you click on this link:
http://www.assertia.com/iframe.html
and then click on 'Click Here'. I am trying to display the form results in
the parent window, but I am having no luck!
[/snip]
Actually it is working properly. You have no POST method in your form call
form.html:
<form name="myform"> <---WHAT IS THE METHOD?
<input type="hidden" name="text" value="test">
<a href="result.php" target="_parent"
onclick="document.myform.submit();">Click here</a>
</form>