Home & blog  /  Scripts  /  Tag: event  /

MSThis - simulate W3C events in IE

This script simulates W3C event handling in IE, fixing the old problem of IE registering events on the window object, not the element that triggered the event. This can cause real headaches, particularly in object-oriented Javascript. Events are added using the W3C addEventListener() method. Note this script does not bring event capture support to IE, which remains unsupported in MS browsers.

2 comments | post new