Re: New window for a CGI
by "Rossi Designs" <webmaster(at)rossidesigns.net>
|
Date: |
Thu, 9 Nov 2000 13:02:41 -0500 |
To: |
"Arnold Lara V." <arnold(at)rds.org.hn>, <hwg-languages(at)hwg.org> |
References: |
org |
|
todo: View
Thread,
Original
|
|
The trick isn't to have the cgi send the answer to the small window, its to
call the cgi inside the pop up
<script language="javascript">
<!--
var cgi_call = "/path/to/script.cgi?some_var=" + escape(some_var);
var mypop = window.open(cgi_call,"pop up", ...
// -->
</script>
----- Original Message -----
From: Arnold Lara V. <arnold(at)rds.org.hn>
To: <hwg-languages(at)hwg.org>
Sent: Thursday, November 09, 2000 11:59 AM
Subject: New window for a CGI
>
> Hi,
>
> I want to know if there is a way using javascript that a cgi send an
> answer to a new small window.
>
> I made a script that send an email to the mailing list administrator
> "majordomo" for subscribing to a mailing list and the script send a
> thankyou page or an error page but I want to open this pages in a
> new small window because I don't want that people go away from
> the homepage, somebody knows if that can be done with some
> javascript, I look all over the web and didn't find some thing like this.
>
> Can somebody help me please, thanks for your help.
>
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA