Internet Explorer and JavaScript event currentTarget

后端 未结 13 2227
执笔经年
执笔经年 2020-11-30 05:36

Is there a way to take the current target of an event with IE 7 or 8?

With other browser (firefox, opera, chrome etc.) we can use event.currentTarget or

13条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-30 06:11

    currentTarget property is supported from IE version 9 onwards.

    Try this sample in IE9+

提交回复
热议问题