RE: [PHP] Submit Form Values To Parent
| From: | Jay Blanchard | Date: | Fri, 02 Dec 2005 16:38:13 +0000 |
| Subject: | RE: [PHP] Submit Form Values To Parent | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-226782@lists.php.net to get a copy of this message | ||
[snip]
> 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>
Thanks for your reply, I'm not sure what is happening because I have added
the method yet it still isn't working...
[/snip]
It is working. The POST array contains the text=>test you set up for it. If
you think that it is not the proper behavior, what exactly is it that you
expect?