It used to work but now I get a:
window.event is undefined
From this simple code that used to work:
function checkKey() {
if (window.event.keyCode != 9) {
document.actionForm.saveStatus.value = "Not saved";
}
}
Why can’t I use window.event anymore?
window.eventis a proprietary Microsoftism.The standard way to access data about an event is via the first argument of the event handler function.