javascript - TypeError: window.event is undefined
三叔
三叔 2017-06-17 09:15:16
0
3
1279

For click events, Firefox reported TypeError: window.event is undefined. Later I added var evt = window.event || arguments.callee.caller.arguments[0] for compatibility. Although the error was not reported, the click The event is no longer valid

三叔
三叔

reply all(3)
学习ing

There seems to be no writing method like $(window.event.srcElement) in jQuery. Window.event is only available in native js.

淡淡烟草味

Owner, what does this represent? If there is no corresponding name, of course the event will be undefined

为情所困

The person above is right, I don’t know what you $(this) want to do...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template