Do the DOM

The Document Object Model (DOM) provides an interface that enables developers to generate HTML on the fly, after the page has loaded.

Quirksmode contains comprehensive info on the DOM

Comments