Then the enter key will work automatically. Sometimes, we want to submit form on enter key press with JavaScript. If you do that, the page will reload, just as if you were clicking the submit button. To determine the specific key that was pressed, you can use the event.which property. How actually can you perform the trick with the "illusion of the party distracting the dragon" like they did it in Vox Machina (animated series)? However, Firefox supresses onKeyPress on submit when "Enter" key is pressed. The enter key, or the button? Problem statement: You have an HTML