With the power of modern JavaScript libraries like jQuery and the YUI, handling events on the client-side has become a trivial matter that we mostly don’t need to concern ourselves with anymore. However, there may be times when we can’t use a framework to handle things for us. Additionally, for a better understanding of how JavaScript libraries work, it's useful to understand the principles of the underlying raw JavaScript.
In this tutorial we’ll look at how we can create cross-browser solution that will easily let us manage all of our event-handling needs using standard JavaScript; we'll look at how we can easily add and remove event-handlers, and how we can stop events. This tutorial may not be of interest to anyone that isn’t concerned with learning how JavaScript works.
Read More