JQUERY Remplacer l'élément
$("elementsSelector").replaceWith( "<h2>New content</h2>" );
Helpless Hamster
$("elementsSelector").replaceWith( "<h2>New content</h2>" );
$("#myID").html("<div>New inner html</div>"); //replace element innerHTML in jQuery
$('#content-container').html(linkText);
$(element).html("Hello World");
$('#selector').text('Your text here');