creating a new element in jquery code example
Example 1: jquery add div element
$('#someParent').append('<div>I am new here</div>');
Example 2: create an element jquery
$('<div>hello</div>').appendTo('#parent');
$('#someParent').append('<div>I am new here</div>');
$('<div>hello</div>').appendTo('#parent');