Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: problem with including external javascript file with start_html

by George_Sherston (Vicar)
on Sep 04, 2001 at 15:24 UTC ( [id://110008]=note: print w/replies, xml ) Need Help??


in reply to problem with including external javascript file with start_html

I've just been using the same code for my own project, and what you have there works for me, so I can't suggest a positive solution. I know this doesn't help! Does the html that your cgi creates on the fly look the same as the static html that works? Or
(1) Do you need to specifiy -language=>'JavaScript'? ... answer probably not, as in the current version of CGI.pm that is the default anyway.
(2) Do you need -onload=>'your.function()' to run the js?

Apart from that I can't think of anything helpful except to repeat that what you're trying to do does work, so there is a solution. Only I don't know it!

§ George Sherston

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://110008]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-25 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found