[OT] Javascript sending down a variable to a Perl script
[OT] Javascript sending down a variable to a Perl script
- Subject: [OT] Javascript sending down a variable to a Perl script
- From: Baiss Eric Magnusson <email@hidden>
- Date: Fri, 16 Apr 2004 16:38:46 -0700
My WO app, generates a URL, and calls the HTML page
<http://www.nwSufis.org/contactSpecificRep.html?
who=email@hidden>
the HTML page has:
*************
<script language=javascript type="text/javascript">
<!-- var repsMail=Request.QueryString("who"); // -->
</script>
...and
<form method="post" name="entryForm" action="/cgi-bin/mailToReps.cgi">
<script language="javascript" type="text/javascript">
<!--
document.write( '<input type="hidden" name="repsMail"
value=repsMail>' );
// -->
</script>
... other form inputs
*************
Down in the Perl script I do
my $repsMail = param('repsMail');
But get
Please reply to Baiss at repsMail
instead of
Please reply to Baiss at email@hidden
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.