I upgraded my IE from version 10 to 11 and found that my ActiveX custom event couldn't work.

The reason is that IE11 does not support attachEvent any more, and seems I have to use addEventListener. For example previously I used

obj.attachEvent("onSelected", method1); 

and now, it is

obj.addEventListener("onSelected",method1,false); 

After changing the code, the method1 cannot be triggered. I have no idea how to bind custom event, which is implemented in ActiveX plugin, to JS method and make it work on IE11?

Edit
Report