これは機能します:
element.bind('keydown',function(e){
console.log(e.keyCode); // returns the keycode
}
これは失敗します:
element.bind('input',function(e){
console.log(e.keyCode); // returns undefined
}
私の簡単な質問: なぜ一体?
編集:
シンプルなplnkr