• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[OT] Javascript sending down a variable to a Perl script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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.


  • Prev by Date: Posting vars programatically from component to Direct Action
  • Next by Date: Re: Posting vars programatically from component to Direct Action
  • Previous by thread: Re: Posting vars programatically from component to Direct Action
  • Next by thread: How to delete an EO?
  • Index(es):
    • Date
    • Thread