in reply to Re^2: PERL CGI HTML JAVASCRIPT APACHE PROBLEM
in thread PERL CGI HTML JAVASCRIPT APACHE PROBLEM

Thanks to all , the problem was the location of the javascript file, the solution was put it in the htdocs folder
C:\xampp\htdocs
and change the line in the perl's scrip who call the .js file
print qq{<script src="http://localhost/basico.js">};
finally all works fine!
  • Comment on Re^3: PERL CGI HTML JAVASCRIPT APACHE PROBLEM

Replies are listed 'Best First'.
Re^4: PERL CGI HTML JAVASCRIPT APACHE PROBLEM
by afoken (Chancellor) on Apr 24, 2015 at 11:20 UTC
    http://localhost/basico.js

    That won't work from other computers. Just use /basico.js.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)