Event delegation

This page tests event delegation. I added a generic document.onclick to the page, and when you click this div it'll update to another div; removing the old one completely. The new div should also be clickable and update again; without me having to add any new JavaScript code.