Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
on the server side, I would have "jserver.cgi" which would accept some GET arguments...
and on the recieving end, an HTML page like this:
So this ^should^, in theory, work. But it doesn't. All I am doing in the script is:<SCRIPT SRC="./cgi-bin/jserver.cgi?script='somescript'" TYPE="text/jav +ascript" LANGUAGE="JavaScript 1.3"> </SCRIPT>
print "Content-type:text/javascript\n\n\n"; print <<TILL_END; // JAVASCRIPT! YAY! TILL_END
So - if I have this html page and this script, what am I doing wrong? Is there something explicitly wrong with CGIing the JavaScript? I don't see why that shoudl be a problem.
Thanks, Dave
Edit by dws for format cleanup
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Javascript and Perl... a match never made.
by gryphon (Abbot) on Jul 19, 2002 at 19:53 UTC | |
|
Re: Javascript and Perl... a match never made.
by dree (Monsignor) on Jul 20, 2002 at 08:39 UTC | |
|
Re: Javascript and Perl... a match never made.
by kidd (Curate) on Jul 19, 2002 at 19:02 UTC |