I'm using jQuery to put text into a div
as follows:
$("#commentview").html(rowData.Text);
If, for example, rowData.Text
is "I haven't seen this."
, in IE the results show as:
"I haven't seen this."
However, in Chrome the '
shows properly.
"I haven't seen this."
Any ideas why this would be and if there is a work-around?
Thanks!
UPDATE
I was fooled by Chrome web developer tools. I had added a watch to rowData.Text
and it was showing me "I haven't seen this."
, so I thought that was what I was working with. But when I looked at the actual JSON response that populates rowData
it had "I haven't seen this."