JavaScript DOM Tutorials. These interactive tutorials will teach you how to access and manipulate the DOM from JavaScript. No libraries are used. Basic knowledge of JavaScript is assumed. Tutorial 1: Accessing the DOM Use getElementById, then walk the DOM to find any node. Tutorial 2: Manipulating the DOM Create and delete nodes. Tutorial 3

4987

I want to add a element into the existing DOM to have the javascript code run. I did this with YUI: var scriptNode = Y.Node.create('