javascript create html element without document 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);