insert after element javascript click event code example Example: jquery insert after $( "<p>Test</p>" ).insertAfter( ".inner" );