Somehow my sample code is not displayed correctly. Here is it again:
print "Content-type: text/html\n\n";
print "<html><head><title>Matches</title>\n";
print "<script src=../sort.js>";
print "</script></head>\n";
print "<body onload=init(this.form)>\n";
In other words, can CGI send back a HTML page that includes a javascript source file? I don't want to display the javascript functions and variables directly in the CGI program.
Thanks, Molly