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.
>