I am getting the following error in IE9:
"Object doesn’t support this action".
There are various question about this, but mine is specifically for the following code:
var myEvent = new CustomEvent("additem");
From my understanding, CustomEvent is supported in IE9 as a DOM manipulation command. This works fine in Chrome without any exception.
Anyone has this problem and know how to solve it? Thanks.
Afaik custom events are not supported in IE, only in normal browsers. I suggest using a javascript library that provides a browser independent implementation like Jquery’s trigger: http://api.jquery.com/trigger/