I am creating an event, so use the DOM Event constructor:
new Event('change');
This works fine in modern browsers, however in Internet Explorer 9, 10 & 11, it fails with:
Object doesn't support this action
How can I fix Internet Explorer (ideally via a polyfill)? If I can't, is there a workaround I can use?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…