If the generated output is what you expect, why doesn't it work? Maybe your expectation is wrong? What is the generated output? Does the generated output work if you save it as a .html file and open that file locally?
If the generated output is not what you expect, please post the relevant parts to help us help you better.
Maybe you can now post the relevant parts of the script and the generated output to help us help you better? That would maybe let somebody see how your expectations do not match what a browser expects. I still recommend testing whether the generated output works as a static file, locally and/or served by the web server. If it doesn't work as a static file, the problem is in your Javascript and thus out of the realm of Perl. If it works as a static file but not when served via a CGI program, we need to see the code and the output.
|