[REBOL] printing javascript tags
From: terry:depotcity at: 5-Feb-2001 16:42
Hello All,
Simple question(?)
How do you form and print the following javascript....
<SCRIPT>
document.cookie = 'CookiesEnabled=1';
if (document.cookie == ' ') {
{document.location.href='http://www.yourdom.com';}
</SCRIPT>
...seeing that it contains semi-colons, single quotes and curly braces?
I keep getting a incorrect string error no matter how it's formed.
Thanks,
T Brownell
PS This js checks to see if the user accepts cookies or no.