Why is event.stopImmediatePropagation() working in all browsers except IE?

前端 未结 1 561
梦如初夏
梦如初夏 2021-01-21 18:58

After some testing I\'m noticing that event.stopImmediatePropagation() does not work in IE (per usage below). However, it works in Chrome, FF, Safari, and Opera. What gives?

相关标签:
1条回答
  • 2021-01-21 19:28

    IE has supported stopImmediatePropgation since IE 9 (http://msdn.microsoft.com/en-us/library/ie/ff975461(v=vs.85).aspx), but jquery is the problem.

    The jquery version used in your code is not working. This jsfiddle works perfectly in IE, and the code is exactly the same. The ONLY difference is that it uses jQuery 1.9.1 instead of jQuery 1.8.3

    0 讨论(0)
提交回复
热议问题