How to concat special characters as sting to a text in javascript? -
how concat character \
string text in javascript? want write code line in javascript:
var x = "$$\" + $("#formul").val() + "$$";
how this?
escape backslash:
var x = "$$\\" + $("#formul").val() + "$$";
the problem have backslash escape character. escapes following "
character string doesn't close.
Comments
Post a Comment