/ Published in: JavaScript
Expand |
Embed | Plain Text
//method to change an elements parent function setParent(el, newParent) { newParent.appendChild(el); }
You need to login to post a comment.
elugardo on 08/28/07
1 person have marked this snippet as a favorite
//method to change an elements parent function setParent(el, newParent) { newParent.appendChild(el); }
You need to login to post a comment.