Modifying an Element on the Fly
You can change an HTML element by setting one of the four inner/outer properties. This tutorial shows you how to do it.
Read more here
edit: Programming/Javascript/auto___modifying_an_element_on_the_fly.wikieditish...