1. ie uses the attachevent/detachevent method to add and delete event listeners. W3C uses the addeventlistener/removeeventlistener method.
2. ie uses the onevent naming method for its events, while W3C uses the event naming method.
3. the IE event listener uses a global event object, while W3C passes the event object as a parameter to the listener.
4. To avoid triggering default event behaviors, ie requiresProgramThe property value of returnvalue In the event object is set to false, while W3C implements the preventdefault method.
5. ie does not support the event capture phase.
6. To stop event transfer, ie sets the cancelbubble of the event object to true, while W3C sets the stoppropagation method.
7. ie calls the event listener as an independent function, while W3C calls the listener as an object method, this indicates that the this keyword in the event listener in IE points to a useless Global Object (window object) instead of an event occurrence object ).
8. Memory leakage occurs in IE when using event listeners. In IE, if you want to create an event listener for an element and use it in the listener, before the user enters other pages, the memory occupied by the listener and related DOM nodes will not be released.