jquery insert html after element inside div code example
Example 1: add div after div jquery
$( "<p>Test</p>" ).insertAfter( $( ".container" ) );
Example 2: add html after div jquery
$( ".inner" ).after( "<p>Test</p>" );
$( "<p>Test</p>" ).insertAfter( $( ".container" ) );
$( ".inner" ).after( "<p>Test</p>" );