in reply to Re: Re: Javascript with CGI::FormBuilder and Template Toolkit
in thread Javascript with CGI::FormBuilder and Template Toolkit

Your web server is probably not set up to execute .htm files. Instead, it is set up to execute .cgi files. Your cgi-script (.cgi) needs to load the template (.htm), perform parameter substitution, and send the HTML contents off down the wire. The Javascript is executed by the requester's browser, not your web server.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on 3Re: Javascript with CGI::FormBuilder and Template Toolkit

Replies are listed 'Best First'.
Re: 3Re: Javascript with CGI::FormBuilder and Template Toolkit
by set_uk (Pilgrim) on Nov 11, 2003 at 15:13 UTC
    That much I understand. I discovered that the cause was the javascript files residing in the images dir of the webserver - moved then elsewhere and it worked. Thanks