I have a form with two buttons. The first is hidden using Javascript.
When I press enter in a text box in IE, the form is not submitted. I guess this is because he selected the first button as the default submit button, but since this button is hidden, it does not work.
I solved this by sending the form to a Javascript event to enter the key. However, it also submits the form if the user presses the enter button to select an item from the browser autofill drop-down list.

How to submit a form in IE without breaking autocomplete functionality?
javascript internet-explorer autocomplete submit
Sjoerd
source share