Я хочу сделать «добавить (+)», «умножить (*)», «разделить (/)» как горячие клавиши, но, следуя прикрепленному мною коду, они не могут этого сделать
$(document).keypress(function(event) {
var keycode = (event.keyCode ? event.keyCode : event.which);
if (keycode == '111') {
$('#someTextBox').focus();
}
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<input type="text" id="someTextBox" />