krispol
06-12-2012, 04:19 PM
Hey
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;
}else
return true;
}
//-->
</SCRIPT>
<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()">
</form>
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;
}else
return true;
}
//-->
</SCRIPT>
<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()">
</form>