I\'ve come across an oddity while using Prototype to handle click events. If you click the button in the code below, it will trigger three alerts: \'Click 1\', \'Click 2\' a
As a formatted comment of @T.J. Crowder's answer, I tested which modern browsers actually trigger the listeners in registration order.
2016-10-06: The results are that all following browsers do: chrome 53, firefox 49, safari 9, opera 40, ie 11 and edge 13 via virtualbox on mac host.
The code of my test can be found here: https://github.com/lingtalfi/browsers-behaviours/blob/master/listeners-execution-order/listeners.md