1$("#inputFoodChoice").keyup(function (e) {
2 var code = (e.keyCode ? e.keyCode : e.which);
3 if (code == 13) { //Enter keycode
4 e.preventDefault();
5 checkInputValue(e);
6 }
7});
8