Javascript / Breaking out of frames when submitting a form??

wxdqz

New Member
Hi everyone,

I have a form which looks like this:

<!-- ************************************************************************************* -->
<!-- This form is all that is required to submit the payment information to the VSP system -->
</P>
<FORM ACTION="submit.pl" METHOD="post" ID="form1" NAME="Test">
<INPUT TYPE="hidden" NAME="Protocol" VALUE=http://www.webdeveloper.com/forum/archive/index.php/"2.20">
<INPUT TYPE="hidden" NAME="TxType" VALUE="PAYMENT">
<INPUT TYPE="hidden" NAME="Vendor" VALUE="">
<INPUT TYPE="hidden" NAME="Crypt" VALUE="">
<INPUT TYPE="image" SRC="proceed3.gif" VALUE="Submit the Order details" ALIGN="right" >
</FORM>
<!-- ************************************************************************************* -->

Effectivley, when clicking submit, I want the result that would happen normally to open in a new window.

Can this be done?

If so can I ask even more and close the old window behind it?

Any help much appreciated.

Thanks,

Simon
 
Back
Top