Reply to Re: How to Open New Window based on Form Input ?

Your name:

Reply:


Posted by J.O. Aho on 12/08/05 09:55

pogo wrote:
> Hello.
>
> I am trying to figure out a way to give the option of opening a form's
> results in the same window or a new browser window by setting a check box in
> the form, such as
>
> [] Open in New Window
>
> So if the box was not checked, the results would be written to the same
> browser window;
> if box *was* checked, they would go to a new window and the current form
> would remain intact.
>
> Any hints ?

You need to send new data to the original window with an additional of a
javascript that opens a new window which will load the data you want to
display on the new window (this requiters you can save the data or send it all
as URL arguments).

Another possibility would be if you can affect the a TARGET value for the FORM
with help of a javascript that is linked to the Open-in-new-window option.
This is the most elegant solution.


//Aho

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация