Re: Re: Open form in new window
| From: | Gmail) | Date: | Mon, 04 Mar 2013 11:18:11 +0000 |
| Subject: | Re: Re: Open form in new window | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320381@lists.php.net to get a copy of this message | ||
I was using an example and NOT intended to show ASP.
On 4 March 2013 08:35, Maciek Sokolewicz <maciek.sokolewicz@gmail.com>wrote:
> On 4 March 2013 09:32, Terry Ally (Gmail) <terryally@gmail.com> wrote:
> > You could echo HTML code e.g.
> Which is still purely HTML and has nothing whatsoever to do with PHP.
>
> >
> > <form action="result.php" method="post">
> > Number: <input id="quantity" type="text" />
> > <button type="button"
> > onclick="OpenWindow()">Submit</button>
> > </form>
> >
> > or include it as one of your form attributes:
> >
> > <form action="demo_form.asp" method="get"
> > target="_blank">
> > First name: <input type="text" name="fname"><br>
> > Last name: <input type="text" name="lname"><br>
> > <input type="submit" value="Submit">
> > </form>
> Again, pure HTML, and no PHP involved. Specifically, the (asp??) page
> called in the form action handler will never even be aware of the fact
> that the page was opened in a new window, or at least was supposed to.
>
--
*Terry Ally*
Twitter.com/terryally
Facebook.com/terryally
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
To print or not to print this email is the environmentally-searching
question!
Which has the highest ecological cost? A sheet of paper or constantly
switching on your computer and connecting to the Internet to read your
email?