Answered
A JavaScript error occurred. SyntaxError: missing } after property list
When I change the double quotes in the following code to single quotes, I get an error
before change
script = script.replace(/\"/g, "'");after change
script = script.replace(/'/g, '\'');How do I change to single quotes in the correct style
