Gossamer Forum
Home : Products : DBMan : Customization :

Javscript "|" pipes interfere with Print qq|?

Quote Reply
Javscript "|" pipes interfere with Print qq|?
Now what? I have extensive javascript in my header. I have mutiple single quotes and pipes in the javascript and I get herrendous errors every time I try to run the script.

I am trying to pring it to the document using print qq| javascript here |; and it's killing me.

Anyone have any ideas?
Frown
Quote Reply
Re: Javscript "|" pipes interfere with Print qq|? In reply to
Try this:
close the last print statement with |;
Start a new statement for your Java with

print qq~
<Script language="Javascript">
<your script>
</script>
#close the print statement
~;

good luck
--------
Mart.