+ 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; } };
1 Odpowiedź
var myObj={ var arr=[]; arr.push (secObj.keypress.key); //return undefined }; var secObj={ //some code Keypress:function (e){ e=e||window.event; } };