Window.fireEvent and window.dispatchEvent are undefined in IE8

I just found that window.fireEvent and window.dispatchEvent undefined in IE8, however document.fireEvent exists.

So how can I fire events for a window element in IE8? ...

+7
source share
1 answer

It's impossible. JQuery method etc. It consists in the fact that it actually emits events inside jQuery, and does not use its own event.

+4
source

All Articles