Object nature of the DOM
This was a start page to illustrate the propagation of event messages that are sent during the processing of actions within the document object.
27 June 2026 - Page reviewed (by me)
16 August 2026 - Added the code to write to the Windows Developers Tools console - Taking another look at the original example I can eee where I strayed off and out of the rabbit hole.
This page still needs work to have it make sense to anybody who finds it. The styling of the <div>s from the example taken from the first external link is not corrrect.
Propagation of Events
The original demo used an Alert() to display the events. This page has been adapted to echo the events to the console (F12 on a Windows computer)
Same demo using a Timed Modal
The problem with the demo above was that you have to click the OK button to see the Captured or Bubbled event.
Top