Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- document.write Syntax Problem in Remote Javascript


egomaniac - 12:24 am on Nov 10, 2002 (gmt 0)


Thanks Andreas and Tedster.

I've been researching this, and I tried escaping the single quotes, but that didn't solve the problem.

I think I need to escape the 2 semicolons after World\'; and true;

Just using escape and the semicolon character isn't working (i.e. \; does not work). What I have yet to try is doing an escape followed by the unicode for the semicolon character.

Does this make sense to either of you?

Any idea where I can find the unicode character for a semicolon?


Thread source:: http://www.webmasterworld.com/javascript/224.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com