Limit a key to the keyboard: body οnkeydοwn = "if (event.keycode == Num) {Alert ('Disable'); Return False;}