-
Nowadays many JavaScripters are aware of the advantages of event delegation. Chris Heilmann and Dan Webb, among others, have discussed its advantages, and I've been using it as much as possible for about two years now.
Event delegation is especially useful in effects like dropdown menus, where lots of events on links may take place that can easily be handled at the root level (an or in this case).
There used to be one problem, though: although event delegation works fine for the mouse events, it does not work for the focus and blur events we ... (Read Full Article)
Related Articles
- To Boston
- also written by ppk (ppk@xs4all.nl)
- W3C Dom Css compatibility table updated
- also written by ppk (ppk@xs4all.nl)
- The versioning switch's default is correct
- also written by ppk (ppk@xs4all.nl)
- Brendan Eich’s Open Letter to Chris Wilson
- also mentions Opera
- @media Ajax
- also published in QuirksMode
- Minor compatibility tables updated; spring cleaning
- also written by ppk (ppk@xs4all.nl)
- ToughQuiz VIII - Practical version switching
- also written by ppk (ppk@xs4all.nl)
- The versioning switch is not a browser detect
- also written by ppk (ppk@xs4all.nl)
- Conference schedule
- also written by ppk (ppk@xs4all.nl)
- SxSW 2008: In Praise of Elitism
- also published in QuirksMode






Recent Comments
joew » Partial Functions in JavaScript
This is a fascinating article, partial function application is a really useful technique John's ...
pawan » Google
Here are two other similar products which I bookmarked in the past: http://www.maani ...
See all recent comments