How to display double quotes in JavaScript
Try escaping it either with \"
or, if this does not work, with \x22
Oh, and if you want to output HTML instead of using this inside a Javascript string, use "
You have several options:
var str = 'My "String"'; //use single quotes for your string
var str = "My \"String\""; //escape your doublequotes
var str = "My "String""; //use it as html special chars
to show double quote you can simple use escape character("\") to show it.
alert("\"Hello\"");