Return to Snippet

Revision: 25108
at March 19, 2010 15:38 by jasonseney

Initial Code
var root = document.getElementById("root");

var a = document.createElement("a");
a.setAttribute("href", "");
a.setAttribute("title", "Foo Bar");


Initial URL

Initial Description
Basic create element and append it too another element.

Initial Title
Javascript DOM - Create Element

Initial Tags
javascript, DOM

Initial Language