It's worth noting that DOM4 spec makes third argument in addEventListener() method optional.<p>It will default to false if you skip it (which is almost always preferable):<p><pre><code> element.addEventListener('mousedown', callback);</code></pre>
There's also an object-based argument to addEventListener:
<a href="http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventListener" rel="nofollow">http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-E...</a><p>More discussion here:
<a href="http://ajaxian.com/archives/an-alternative-way-to-addeventlistener" rel="nofollow">http://ajaxian.com/archives/an-alternative-way-to-addeventli...</a>