Re: Help please

From: Date: Sun, 17 Feb 2002 02:43:01 +0000
Subject: Re: Help please
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-85081@lists.php.net to get a copy of this message
Since you're assuming Javascript anyway, you can use a <input type="button"> instead of <input type="submit"> and use the same javascript code as for the <a href>, just that you append a "document.forms[0].submit()". HTH Bogdan webmaster mbtradingco wrote:
I'm trying to contro l the way a new window opens when submiting a form. When I do it fro m a regular button, I use: <p align="center"> <a href="#pv" onClick="window.open('php/resulta.php','1','sc rollbars=0,width=300,height=340,top=150,left=150');return true"> and it works, it opens the new window, but I'm not transferring any values in here. What I want to do is that when I push the submit button of a form, it opens in the same window size as the prior example. I hope you can assist me. E.


« previous php.general (#85081) next »