Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    May 2012
    Posts
    57
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Popup submit button to call another popup window

    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:
    Code:
    <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>

  • #2
    New Coder
    Join Date
    May 2012
    Posts
    57
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Oh I already figured it out myself

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •