Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[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='';} </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.