append div element in jquery code example
Example 1: jquery add div element
$('#someParent').append('<div>I am new here</div>');
Example 2: append to jquery
$("<span>Hello World!</span>").appendTo("p");
$('#someParent').append('<div>I am new here</div>');
$("<span>Hello World!</span>").appendTo("p");