T
Tim
I know some programming though not much JavaScript and I have to
modify an existing JavaScript program that has an array assignment
statement like
labels[0] = "This does work for the typical case.";
I need to change the "does" to "doesn't" where the single quote needs
to be the proper curly single quote, because the font used to display
this is a nice serif font. But the following change, using the
"decimal numeric character reference" for right single quote
’ does not work:
labels[0] = "This doesn’t work for the typical case.";
I've looked online for 30 minutes and have tried concatenation and
eval, but that does not work either.
I just need to make this one change and get back to some other work.
Anyone have the answer?
modify an existing JavaScript program that has an array assignment
statement like
labels[0] = "This does work for the typical case.";
I need to change the "does" to "doesn't" where the single quote needs
to be the proper curly single quote, because the font used to display
this is a nice serif font. But the following change, using the
"decimal numeric character reference" for right single quote
’ does not work:
labels[0] = "This doesn’t work for the typical case.";
I've looked online for 30 minutes and have tried concatenation and
eval, but that does not work either.
I just need to make this one change and get back to some other work.
Anyone have the answer?