javascript - jQuery don't parse HTML -
javascript - jQuery don't parse HTML -
i have string html elements, , i'm using jquery seek append string div:
var content = '<div>test</div>'; $('div').append(content);
is there way in javascript or jquery create doesn't parse string in div get:
<div>test</div>
instead of
test
you can utilize jquery .text()
function set strings html elements. if utilize .html()
function set test
javascript jquery
Comments
Post a Comment