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
学习ing2017-06-17 09:17:16
There seems to be no writing method like $(window.event.srcElement) in jQuery. Window.event is only available in native js.
淡淡烟草味2017-06-17 09:17:16
Owner, what does this represent? If there is no corresponding name, of course the event will be undefined