create element without dom javascript code example
Example: how to create an html element in javascript without document
var myEl = $('<div> ....</div>');
$('#myDiv').append(myEl);
var myEl = $('<div> ....</div>');
$('#myDiv').append(myEl);