I want to load external HTML file with a content like this:
{"html":" \n <font>\u043b\u0432.<\/font> \n ","back":""}
I tried with this code – it loads the file but it remains with \n and the other things..
<div id="success"></div>
<script>$.get('test.html', function(data) { $(data).appendTo("#success"); } );</script>
Modified code: Since your data is a JSON object you should use
$.getJSON. and replace all\nwith<br>.