.after() puts the element after the element using after: $('.a').after($('.c')); after execution: <div class='a'> <div class='b'>b</div> </div> <div class='c'>c</div> //<----this will be placed here