Re: Open form in new window

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mar 5, 2013, at 10:12 PM, Jim Giner <jim.giner@xxxxxxxxxxxxxxxxxx> wrote
> On 3/5/2013 7:32 PM, Tedd Sperling wrote:
>> On Mar 4, 2013, at 12:54 PM, John Taylor-Johnston <John.Taylor-Johnston@xxxxxxxxxxxxxxxxxxxxx> wrote:
>> 
>>> If you want to open a new page in response to a submit button press (using PHP) you may be out of luck. I don't know of a way to do it without involving another language. Opening a different page in the *same* window, yes. Otherwise, no. But watch the other replies. Maybe someone knows something I don't. Paul
>>> Nope. Out of luck.
>> 
>> You mean opening a new page while keeping the current page open?
>> 
>> Because clicking a form submit *can* open a new page as per the form's action="" attribute.
>> 
>> If you want the current page to remain open while another page opens, then you'll need a javascript routine to do it.
>> 
>> Cheers,
>> 
>> tedd
>> 
>> _____________________
>> tedd@xxxxxxxxxxxx
>> http://sperling.com
>> 
>> 
> No - you meant to say "per the form's TARGET attribute"


No, I meant to say exactly what I said, namely ACTION.

The Target attribute deals with frames -- I have not done frames since 1995.

For a more in-depth Target explanation, please review:

http://www.htmlcodetutorial.com/forms/_FORM_TARGET.html

However, I do not think that is what is being discussed here -- at least it is not what I was talking about.

Cheers,

tedd

_____________________
tedd@xxxxxxxxxxxx
http://sperling.com





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux