I have a JavaScript variable:
var text = \"http://example.com\"
Text can be multiple links. How can I put \'\' around the variable string?<
You can escape " with \
var text="\"word\"";
http://jsfiddle.net/beKpE/