Brains have seized up.
I'm looking into various handler management solutions.
An example, albeit an old one, would be Dean Edwards: addEvent() – My Solution
Trying to think of a scenario where you might want to have multiple handlers and events assigned to an element?
If anyone could give me an example scenario it would be appreciated.
How about a click, a mouseover, a mouseout and a double click - all on the same element.
That can still be done though without requiring advanced handler techniques.
Originally Posted by AllanP
Where advanced handler techniques are required is when the same event (such as click) is applied by multiple scripts to the same element.
As an example, you might have the click event on a tabbed link change the background color of that tab.
A completely separate script might also show a contents section when you click on that same tab.
One event will replace the other, unless advanced handler techniques are used.