I am trying to assign a value like <div> a value </div>
to an html element say textarea in chrome browser, but the value is not getting assigned. It works fine if i try to assign a plain text like a value
I am using this
$('#editor').html((content));
where content = <div> a value </div>
Please help me in solving this issue. Is it chrome not allowing to assign the html value or some thing different?