I have a string which is essentially html elements, and I'm using jQuery to try to append this string to a div:
var content = '<div>Test</div>';
$('div').append(content);
Is there a way in JavaScript or jQuery to make it so it doesn't parse the string so in my div I get:
<div>Test</div>
instead of
Test