How to access the event object and it's keyCode attribute inside a key event handler ?
How to access the event object and it's keyCode attribute inside a key event handler ?
Hi Daniel,
Please use following code:
pre
var event = arguments[0];
//Here you can use event object.
console.log(event.keyCode);
/pre
http://prntscr.com/3vucev/direct
Regards.