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 3 of 3

Thread: Form to popup?

  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    North East England
    Posts
    853
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Form to popup?

    I've got a form submitting to "poll.php", how can I make it so poll.php opens in a new window with predefined margins, lack of toolbars etc rather than the current window...?

    cheers
    Last edited by mouse; 07-21-2002 at 01:10 AM.
    [+] Computer/PC issues [+] Silverpaw3D
    ------------------------------------------------
    Never buy a dwarf with learning disabilities...

    ...it's not big, and it's not clever.

  • #2
    New Coder
    Join Date
    Jul 2002
    Location
    Portugal
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <form id=myForm target="subwin">
    ....
    <input type=button value="go" onclick="go()">
    </form>

    <script>
    function go()
    {
    window.open('about:blank','subwin','width......')
    myForm.submit()
    }
    </script>

  • #3
    eak
    eak is offline
    Regular Coder eak's Avatar
    Join Date
    Jun 2002
    Location
    Nashville, TN
    Posts
    354
    Thanks
    0
    Thanked 26 Times in 26 Posts
    this topic has already been discussed here...
    Processing form in new window onclick
    eak | "Doing a good deed is like wetting your pants; every one can see the results, but only you can feel the warmth."


  •  

    Posting Permissions

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