how to insert an html tag after specific class code example Example: jquery insert after $( "<p>Test</p>" ).insertAfter( ".inner" );