in reply to Include js files in Perl-CGI

/var/www/html/JS/AnchorPosition.js

This is likely not the path by which the file is visible from the outside through your webserver. Ask your webserver administrator what URL your script is visible from and what URLs you need to print so the Javascript files get served by the webserver.

Replies are listed 'Best First'.
Re^2: Include js files in Perl-CGI
by Anonymous Monk on Apr 21, 2009 at 14:50 UTC

    hi Corion,... thanks for ur reply... i'm root user and i tried the url http://localhost/cgi-bin/rj/ain/cal.cgi .... and when i click the select link on the page its redirecting into http://localhost/cgi-bin/rj/ain/cal.cgi# .... do i need to move js files to some where... can you please give me some detail idea with example....