Posted By

iroybot on 07/11/10


Tagged

javascript js insertAfter


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

iroybot
nerdfiles
dipser


insertAfter


 / Published in: JavaScript
 

  1. function insertAfter(parent, node, referenceNode) {
  2. parent.insertBefore(node, referenceNode.nextSibling);
  3. }

Report this snippet  

You need to login to post a comment.