One issue I ran into was using Here document without single quotes

print <<EOJS

and perl was trying to interpret things in my javascript.

Saying print <<'EOJS'

fixed it, perl trying to interpret things may also be the problem if you are
using print statements.
-Ken

-----Original Message-----
From: Peter Fleck [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 1:09 PM
To: [EMAIL PROTECTED]
Subject: Javascript and Perl Problem


I have some complex (at least to me) javascript on a perl-generated 
page that's not working correctly. The same javascript works fine on 
a static page.  I should mention that some javascript is working on 
the dynamic page but it's not doing what it's supposed to do.

Before I post any code, I'm hoping that there may be some problems 
that I'm not aware of concerning javascript on perl pages.

I just finished optimizing the javascript for display on multiple 
browsers and it's working fine for static pages.

Thanks.
-- 
Peter Fleck
Webmaster | University of Minnesota Cancer Center
Dinnaken Office Bldg.
925 Delaware St. SE
Minneapolis, MN  55414
612-625-8668 | [EMAIL PROTECTED] | www.cancer.umn.edu
Campus Mail: MMC 806

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to