You are here: irt.org | FAQ | JavaScript | Window | Q638 [ previous next ]
Make sure the target attribute specifies the same value as the windows open() methods 2nd parameter:
<form method="post" target="myWindow" onSubmit="window.open('about:blank','myWindow')"> ...
Using about:blank loads an initial blank page, but this is not supported in all older browsers so it would be better to create your own blank page and load that instead.