jQuery Ajouter un élément div
$('#someParent').append('<div>I am new here</div>');
Grepper
$('#someParent').append('<div>I am new here</div>');
$("p").append(" <b>Appended text</b>.");
$('#box').append(
$('<div/>')
.attr("id", "newDiv1")
.addClass("newDiv purple bloated")
.append("<span/>")
.text("hello world")
);
$('<div>hello</div>').appendTo('#parent');