Does anyone know if it's possible to detect support for an event handler in JavaScript? Obviously you can do so for properties or methods, but the logistics of JS seems to imply you can't do the same for events.
Specifically, I'm trying to detect support for the event:
document.oncontextmenu
Thanks,
Specifically, I'm trying to detect support for the event:
document.oncontextmenu
Thanks,
Comment