Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JS toString adds backslash

var x = "<div class="abcdef">";
x = x.replace(/"/g, '"');
document.body.appendChild(
  document.createTextNode("After: " + x)
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #JS #toString #adds #backslash
ADD COMMENT
Topic
Name
3+4 =