ParentFull threadbastawhiz·There's a better solution: wrap your inputs in a form element and rely on the submit event rather than a keyboard event. The browser knows (or should know!) if the user intends to submit or not.View on HN