SyntaxFix
Write A Post
Hire A Developer
Questions
Folks, there is already the unescape function in JavaScript which does the unescaping for \":
unescape
\"
<script type="text/javascript"> var str="this is \"good\""; document.write(unescape(str)) </script>