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_id').append(
$('<div/>', {'id': 'child_div', 'class': 'className','style':'width: 100%; height: 100%;'})
);
$("p").append(" <b>You can write your Text Here </b>.");
$( "div.demo-container" )
.html( "<p>All new content. <em>You bet!</em></p>" );