I'm trying to give edit functionality to my users, but if the content has an apostrophe the editor doesn't display. Aside from scanning the text and putting \ in front of every apostrophe, is there anything I can do to fix this problem. This sort of problem seems like something many people will have run into at one time or another.
Sun, 09/07/2003 - 19:24
#1
RE: Starting editor with text like "I'm", issue..
AIM: CompiledMonkey
MSN: CompiledMonkey@hotmail.com
RE: Starting editor with text like "I'm", issue..
RE: Starting editor with text like "I'm", issue..
RE: Starting editor with text like "I'm", issue..
It depends on where you need to do it. If you need a client side way of doing it use the escape and unescape javascript methods:
http://www.javascripter.net/faq/escape.htm
RE: Starting editor with text like "I'm", issue..
Very cool! I'll try that out tomo.