...

View Full Version : Popup window question



stevan
01-12-2003, 04:13 PM
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

chrismiceli
01-12-2003, 05:42 PM
change
<input type=submit value="Submit Form">
to
<input type=submit value="Submit Form" onClick="self.close()">

stevan
01-12-2003, 05:50 PM
It still redirects

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

Thxs STeve



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum