+ 1

How to access key or keycode or code properties from keyboard event method?

var myObj={ var arr=[]; arr.push (secObj.keypress.key); //return undefined }; var secObj={ //some code Keypress:function (e){ e=e||window.event; } };

25th Nov 2018, 12:43 PM
Abdoulaye Seck
Abdoulaye Seck - avatar
0 Réponse