well this is how i see it:
when you use the javascript in the submit button, it works just like if it was a link outside a form. that button becomes it's own entity.
for example .. if you make an HTML page (not even a php page) that only contains this:
Quote:
|
<input type="submit" name="submit" value="submit"
|
you will notice that this button still opens a new page without even having any <form></form> tags around it.
i'm no javascript expert, but i think there is a resize script you can use for the target page. instead of trying to size the form from the button, there is probably a way to resize it from the target page itself.
for example, after the page opens, it will resize itself to the desired dimensions:
Quote:
|
<body onLoad="resizeTo(600,400);">
|
that would be your body tag obviously, but i could not find how to remove the toolbar from the page itself .. and not the link from the previous page. .. i looked for a while but could not find a thing.
goood luck, let me know how it goes.