Return to Snippet

Revision: 3648
at August 28, 2007 14:34 by elugardo


Initial Code
//method to change an elements parent
function setParent(el, newParent) {
    newParent.appendChild(el);
}

Initial URL

                                

Initial Description

                                

Initial Title
Change element's parent

Initial Tags
DOM

Initial Language
JavaScript