mercoledì, luglio 01, 2009

Traverse the DOM and Avoid Using innerHTML

I thought this was an awesome tutorial about some of ways to traverse the DOM and avoid using innerHTML.

“The focus of this article will be to show you ways of doing things commonly reserved for innerHTML with only DOM methods. In each example, the innerHTML method will be shown, followed by its DOM based alternative.”

http://slayeroffice.com/articles/innerHTML_alternatives/