For the web application that I am creating, I am going to get text strings, sometimes containing quotation marks. Because then I will document. Writing a line, they need to be changed either in apostrophes or with escaping. How would I do this, because when I try to do this, it does not seem to work, in particular, I think, because the string quotes stop the rest of the script from working.
Hope this makes some sense, I'm completely new to this, so why it might not make sense. I will try and clarify if necessary. Thanks!
javascript replace
James wanchai
source share