Return to Snippet

Revision: 6400
at May 20, 2008 05:22 by buscarini


Initial Code
newnode=document.createElement("span");
newnode.innerHTML="<div id=\"editMessageContainer\"> blah </div>";
document.body.appendChild(newnode);

Initial URL

                                

Initial Description

                                

Initial Title
Añadir un hijo a un elemento de HTML (p.ej. un div)

Initial Tags

                                

Initial Language
JavaScript