Embedded javascript commands work, but when edited, all the quotes are converted to ’ 's - ruining the javascript because of this line:
(87 in /fckeditor.js)
text = text.replace(/'/g, "’") ;
...
text = text.replace(/'/g, "\'") ; // ’
solves this problem, but I wonder that it's been changed away from a \' to ’ for a reason that I'm missing.
ash at theleys dot net
(87 in /fckeditor.js)
text = text.replace(/'/g, "’") ;
...
text = text.replace(/'/g, "\'") ; // ’
solves this problem, but I wonder that it's been changed away from a \' to ’ for a reason that I'm missing.
ash at theleys dot net

RE: Single Quotes and Javascript
RE: Single Quotes and Javascript
RE: Single Quotes and Javascript
http://blogsyndrome.com