这两天仔细看了一下MDN上关于事件流机制和相关方法的文档,发现有个很大的误区.过去我一直以为stopPropagation()就是用来阻止事件冒泡的,甚至很多博客和菜鸟教程上都是这样写的.但实际上文档中对stopPropagation()的解释是: The stopPropagation() method of the Event interface prevents further propagation of the current event in the capturing and bu