Something related to this that has me baffled is my main windows opens a pop-up to do the processing (where i have the flush/abort stuff) but the main window will not redirect or do anything until the pop-up is done processing.
Is this a javascript issue, something I can basically say onClick load new window then move on, regardless of what's happening in the new window?
Here's how I launch the window:
<script language="javascript">
<!--
function ShowMenu(URL, WinTitle, WinWidth, WinHeight, WinLeft, WinTop){
attr = "scrollbars=yes,resizable=yes,width=" + WinWidth + ",height=" + WinHeight + ",screenX=" + WinLeft + ",screenY=" + WinTop + ",left=" + WinLeft + ",top=" + WinTop + "";
msgWindow=open(URL, WinTitle, attr);
if (msgWindow.opener == null) msgWindow.opener = self;
return true;
}
//-->
</script>
<FORM name="form" action="newpage.php" METHOD="GET" >
<SELECT NAME="mynewsletter">
<option value="1">Newsletter1</option>
</SELECT>
<INPUT TYPE=SUBMIT VALUE="Send" onClick="ShowMenu('newsletter__send.php?mynewsletter=' + document.form.mynewsletter.value + '','window',500,50,15,25)">
</form>
Any ideas why the main window would wait for the pop-up to finish processing? Is there a workaround?