Mike Chambers: Removing HTML Element children with JavaScript
"Just a quick fyi, but if you are doing work in JavaScript and need to dynamically remove all of the childNodes from a DOM element, make sure to do it with a while loop, and not a for loop."