posted 20 years ago
Eric, thanks for your reply.
But it does not work if I use escape() javascript function, same error actually. I believe the escape() is used to convert those special characters for URL, like &, =, etc..
In my case, the problem is how to avoid the situation like below in javascript statement, the quote mark inside and the slash are causing javascript syntax error.
"avoid "quote mark" in a text"
"avoid "</something like this>" in javascript"
Any help is greatly appreciated!!