Hi,
I have an shtm file which collects a parameter in javascript like so:
var myValue = location.search.substring( 1 );
myValue = myValue.split( '=' );
myValue = myValue[1];
Works great. Now, in the page itself, I need to #exec a CGI (and insert the
response) using the myValue param as a param to the CGI: I have tried this:
<!-- #exec CGI="/scripts/test/MyCGI.exe?user_text=" + <script language =
"JavaScript" type = "text/JavaScript">myValue</script> -->
But the CGI is not getting the myValue string at all.
If I hard code the value it works as expected - but obviously this is no
good. How do I pass this value to the CGI?
TIA
M.