Why this wont load my js script?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Nik
Forum Contributor
Posts: 138
Joined: Wed Jan 29, 2003 6:02 pm
Location: Thessaloniki, Greece

Why this wont load my js script?

Post by Nik »

#!/usr/bin/perl
print "Content-Type: text/html\n\n";
print <<ENDHTML;
<HTML>
<BODY>

<script language="javascript" src="javascript.js"></script>

</BODY>
</HTML>
ENDHTML

i mean it runs but wont display anything else rather that a blank page!
User avatar
igoy
Forum Contributor
Posts: 203
Joined: Fri May 02, 2003 11:57 pm
Location: India
Contact:

Post by igoy »

try putting it inside double quotes (") and other things (like language="javascript" as language=\"javascript\"), you know escape character and stuff. .. .

it may work... post again if it doesn't...
Post Reply