|
Posted by kirke on 10/11/06 08:08
wow! thx! that's exactly what i want!
can i do one more question?
Thus, i can pop-up the window.
and there's also drop-down box. and we need submit button.
However, when i click the submit button (in pop-up window), i want to
close it and its action page is index.php(previous page)
which commend is needed to do this?
Thx! again!
Erwin Moller wrote:
> 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
Navigation:
[Reply to this message]
|