I believe you can use \" and \', respectively.
-----Original Message-----
From: Justin Hansen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 11:33 AM
To: CF-Talk
Subject: id.innerText = 'how to escape quotes and ticks?'
I am trying to replace a whole table in side a div tag with a new table. The
new contents of the div contain quotes (") and ticks ('). How can I escape
them with JavaScript so the 'innerText' will work?
Justin Hansen
--------------------------
Uhlig Communications
Web Developer / Programmer
--------------------------
[EMAIL PROTECTED]
913-498-0123 ext 284
--------------------------
______________________________________________________________________
Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists