IE9 and IE10 throw an error: SCRIPT5007: Unable to get property 'target' of undefined or null reference. This is because marko-widgets is using attachEvent which, while it still works in those browsers, is deprecated and does not seem to support the input event correctly. The error is caused by window.event being undefined when handling input.
All other browsers (including IE11, in which attachEvent is no longer supported) work as expected.
When using declarative event binding like this:
IE9 and IE10 throw an error:
SCRIPT5007: Unable to get property 'target' of undefined or null reference
. This is because marko-widgets is usingattachEvent
which, while it still works in those browsers, is deprecated and does not seem to support theinput
event correctly. The error is caused bywindow.event
beingundefined
when handlinginput
.All other browsers (including IE11, in which
attachEvent
is no longer supported) work as expected.