A JavaScript Curiosity Regarding addEventListener(drunkenfist.com)
drunkenfist.com
A JavaScript Curiosity Regarding addEventListener
http://www.drunkenfist.com/304/2009/04/02/a-javascript-curiosity-regarding-addeventlistener/
3 comments
It looks like standard behaviour defined by event cancelation and default actions in the W3C DOM2 Events spec. Whether this is cross-browser or not isn't obvious. Suppressing default actions with event.preventDefault() seems to work in Firefox, at least.
The answer is in the comments on the blog post already.
Post this on stackoverflow