djBo
07-25-2008, 12:53 PM
Hi List,
My javascript AJAX class simply sets the innerHTML of a div to the result from the request.
The result contains a lot of HTML encoded characters using ASCII values like:
&#<value>;
When the innerHTML is set, the encoded characters are decoded to their literals (tested in IE&FF)
How can I precent this from happening?
Thanks in advance,
Rory
My javascript AJAX class simply sets the innerHTML of a div to the result from the request.
The result contains a lot of HTML encoded characters using ASCII values like:
&#<value>;
When the innerHTML is set, the encoded characters are decoded to their literals (tested in IE&FF)
How can I precent this from happening?
Thanks in advance,
Rory