Reply to Re: form-pop up

Your name:

Reply:


Posted by Erwin Moller on 10/11/06 07:56

kirke wrote:

> In php, is there any way to submit button(in a form) makes window
> pop-up?
>
> -> INDEX.PHP :
>
> <form id="form1" name="form1" method="post" action="vehicle.php">
> <input name="submit" type="submit" id="submit" value="submit" />
> </form>
>
> This goes to only action page. (vehicle.php)
> I wanna pop-up the page(vehicle.php) and use data from index page.
> Also when i close the pop up page, I wanna use data in index what was
> selected in pop-up page(vehicle.php)
>
> Is it possible? Thx!

Hi,

This has little to do with PHP. It is just a HTML thing.
Just add a target to your form and it will pop-up in a new window.
(If you need to address that window from javascript, use the name you just
gave it in your form.)

<form action="vehicle.php" method="POST" target="myNewWindow">


Regards,
Erwin Moller

[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

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