Thanks for the help! But is it possible to do something like this:
print "Content-type: text/html\n\n";
print "<html><head><title>Matches</title>\n";
print "<SCRIPT src=../sort.js>\n";
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