jquery append appendTo append after code example
Example 1: append before jquery
$( "h2" ).insertBefore( $( ".container" ) );
Example 2: append after element jquery
$("p").after(" <b>You can write your Text Here </b>.");
Example 3: append div to another div jquery
<h2>Greetings</h2>
<div class="container">
<div class="inner">Hello</div>
<div class="inner">Goodbye</div>
</div>