Is event object and window.event object the same ?
Hello guys, sorry to disturb you, can someone explain what is the difference between an event object passed by an event handler and an a window event please.
I just read that the window.event was used for backward compatibility like this:
event = event || window.event
I don't understand, event and window.event aren't the same thing ?
for e,g consider the following:
I didn't really understand what is the difference4 Replies
just forget that that exists
it should be the same, but there's nothing to guarantee it
seriously, pretend that window.event doesnt exist and dont touch that deprecated "feature"
ok ok 😂
yeah, my first reaction was "oh yeah, window.event exists. huh"
that, and focused and links and forms
i think there's frames too