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
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    271
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Popup window question

    I am using a popup window script to add people to my mailing list

    Is there a way to close the window when the SUBMIT button is
    pressed




    <form action="http://207.235.6.119/cgi-bin/nmail.pl" method="POST">


    <input type=hidden name="to" value="">
    <input type=hidden name="redir"
    value="http://www..html">




    First Name: <input type=text name="FirstName" size="20"><br>
    Email Adress: <input type=text name="EmailAdress" size="20">
    <P align=center>
    <input type=submit value="Submit Form">





    Thxs STeve

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Louisiana
    Posts
    576
    Thanks
    0
    Thanked 0 Times in 0 Posts
    change
    <input type=submit value="Submit Form">
    to
    <input type=submit value="Submit Form" onClick="self.close()">

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    271
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Still the same problem

    It still redirects

    Remove that line and gets error as it goes to the cgi bin site

    Thxs STeve


  •  

    Posting Permissions

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