Running javascript from within cgi-Script
June 15, 2005 8:18 PM
Subscribe
I use a free cgi mailing list script that generates a html template for the admin interface and user feedback for sign-up. The site i am implementing it on today has some basic preload/rollover javascript within the HEAD of the HTML document, but the javascript aint working on the template the cgi outputs. How do i need to format the javascript so that it works from the cgi-script?
Is it the paranthese, curlies, semicolons or brackets that need to be slashed? Or all four? Here's what I got:
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i
posted by elphTeq to computers & internet (3 comments total)
anyway, i've slashed all my quoted values, what else do i need to slash or change... ?
posted by elphTeq at 8:23 PM on June 15, 2005