[jQuery] jQuery Auto Unescapes Data
Greetings,
I have come across an issue which I have not been able to solve
directly. The situation I have is that I have an xml file stored in a
backend database which I would like to retrieve and display the
contents -exactly- as it is stored in the database.
The text comes back correctly from the request (i'll use the example:
%lt;cookie), however jQuery gives it back to me unescaped (ex:
<cookie ) (Try using %lt; on http://15daysofjquery.com/examples/jqueryEditInPlace/divEdit.php
... it exhibits the same behavior I'm referring to )
It doesn't seem to matter what type of get() i use, but I have been
focusing mostly on $.getJSON(url, data, callback);
Does anyone out there have any insight to my issue, or will I just
have to suck it up and manually parse the call myself?
TIA,
--JeffS