jquery insert after
snippet in javascript

jquery insert after

user3770

$( "<p>Test</p>" ).insertAfter( ".inner" );

jquery append after

user8288

<div class="container">
  <h2>Greetings</h2>
  <div class="inner">Hello</div>
  <div class="inner">Goodbye</div>
</div>
<script>$( "<p>Test</p>" ).insertAfter( ".inner" );</script>

append after element jquery

user988

$("p").after(" <b>You can write your Text Here </b>.");

insertafter

user6349

$( "<p>Test</p>" ).insertAfter( ".inner" );