Hi all,
I am having a strange problem in a web application running on IE10 (same behavior in Windows 8 or Window 7 preview).
My application creates and dispatches native events using these calls:
var e = document.createEvent("HTMLEvents"); e.initEvent("myEventType", true, true); element.dispatchEvent(e);
That works most of the time and correctly calls the listeners registered for the specified event type, but in some rare cases this causes wrong event listeners to be called: listeners that were added for a completely different event type are called, and the "right" event listeners are not called.
Has anybody seen dispatchEvent going crazy like this on IE10? Is this a known bug?
Thanks for any help/hints... ;^)
Eric