Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

append after div

.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
Source by www.google.com #
 
PREVIOUS NEXT
Tagged: #append #div
ADD COMMENT
Topic
Name
7+6 =