View Full Version : Popup submit button to call another popup window

06-12-2012, 05:19 PM

I would appretiate some help.

I have a checkbox on a popup window and when it is checked and submitted, the window closes automatically and new popup window openes.

The problem is that it does call for a new popup window and it does open as I want it to, but instead of showing me the content it says Not found. Any idea?

Here is the code I have:

<SCRIPT language=JavaScript>
function checkCheckBox(f){
if (f.agree.checked == false )
alert('Please check the box to continue.');
return false;
return true;

<form action="q1.html" target="_blank" method="GET" onsubmit="NewWindow(this.href,'name','600','300','yes');return false">

<!--Enter your form contents here-->

I have read and agree to the Terms & Conditions <input type="checkbox" value="0" name="agree">
<input type="submit" value="Continue" onclick="self.close()">

06-12-2012, 05:59 PM
Oh I already figured it out myself :)

I modifyed this part: onsubmit="NewWindow('q1.html','name','900','600','yes');return false"