How can i append to a DOM element a div which is saved as a string in a variable?
as for example:
var toAppend = "<div id="divID" class="hello" contenteditable>hi hi</div>";
how can I append it using for example:
$('#parentDiv').appendChild( ... );